12 lines
603 B
Markdown
12 lines
603 B
Markdown
# Road Compiler
|
|
|
|
Compiles a `native-road-package/v1` `RoadCompilerInput` JSON file into native-road GeoJSON, diagnostics, traffic-signal runtime assets, and a deterministic completion marker.
|
|
|
|
```bash
|
|
npx road-compiler --input /absolute/path/road-compiler.input.json
|
|
```
|
|
|
|
The compiler does not read host area configuration. The caller owns configuration normalization and creates the input JSON. Successful compilation writes exactly one `NATIVE_ROAD_COMPILE_DONE` JSON marker to stdout.
|
|
|
|
Run `npm test` and `npm run test:road-parity` after `npm ci` to validate the package without the host repository.
|