Runs the `flatc` command with the provided args. If a resource matching _FLATC_RESOURCE_NAME exists, uses that executable. Otherwise, expects the `flatc` tool to be available on the system path.
(args: Sequence[str])
| 322 | |
| 323 | |
| 324 | def _run_flatc(args: Sequence[str]) -> None: |
| 325 | """Runs the `flatc` command with the provided args. |
| 326 | |
| 327 | If a resource matching _FLATC_RESOURCE_NAME exists, uses that executable. |
| 328 | Otherwise, expects the `flatc` tool to be available on the system path. |
| 329 | """ |
| 330 | subprocess.run([_get_flatc_path()] + list(args), check=True) |
| 331 | |
| 332 | |
| 333 | def _flatc_compile(output_dir: str, schema_path: str, json_path: str) -> None: |
no test coverage detected