#fmt #ninja #file #ninja-fmt

app ninja-fmt

Format ninja targets from file paths

1 unstable release

new 0.1.0 Mar 30, 2025

#1407 in Parser implementations

MIT/Apache

9KB
89 lines

Format ninja targets from file paths.

TODO:

  • target extension mapping (e.g. specify '.c' to '.o')
  • output relative paths (i.e. mutate source paths to be relative to output file)
  • canonicalize paths (don't need relative paths, but now system/user specific)

Dependencies

~1.2–1.8MB
~33K SLoC