feat: make road compiler standalone
This commit is contained in:
11
README.md
Normal file
11
README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user