#build #ninja #speed #focus #build-system #port #run

build ninja-build

Ninja is a small build system with a focus on speed

1 unstable release

Uses old Rust 2015

0.0.1 Nov 11, 2017

#26 in #ninja

Apache-2.0

585KB
9K SLoC

Rust 7K SLoC // 0.5% comments AsciiDoc 774 SLoC Python 587 SLoC // 0.2% comments Shell 86 SLoC // 0.3% comments Vim Script 56 SLoC // 0.2% comments Emacs Lisp 39 SLoC // 0.5% comments RPM Specfile 32 SLoC XSL 18 SLoC // 0.4% comments

This is a Rust port of Ninja, which is a small build system with a focus on speed.

See the manual -- https://ninja-build.org/manual.html or doc/manual.asciidoc included in the distribution -- for background and more details.

To build your own binary, just run cargo build.

Dependencies

~3–4MB
~70K SLoC