turtle-build-0.2.0 is not a library.
Visit the last successful build:
turtle-build-0.5.15
Turtle
Clone of the Ninja build system written in Rust
Goals
- Naive but safe (no
unsafe) reimplementation of the Ninja build system in Rust - Improved frontend support (WIP)
- Full output from build rules and no output from Turtle by default
- More customizable build/rule/progress/error output
Turtle is originally written for the Pen programming language. Therefore, we support only dynamic dependencies but not C/C++ header dependencies currently. Your contribution is welcome! 😄
Install
Usage
For more information, see turtle --help.
Compatibility
Turtle aims to support full syntax of the Ninja build files. It also supports basic command line arguments but is not going to implement all the original options (e.g. -t option.)
Syntax
-
buildstatement- Explicit outputs
- Explicit inputs
- Implicit outputs
- Implicit inputs
- Order-only inputs
-
phonyrule
-
rulestatement -
defaultstatement -
includestatement -
subninjastatement -
poolstatement - Global variables
- Build-local variables
-
inandoutspecial variable
Command line arguments
-
-fcustom build file option -
-jjob limit option -
-kkeep-going option -
-Cchange-directory option
Others
- Circular build dependency detection
- Circular build file dependency detection
-
builddirspecial variable - Dynamic dependencies
- Implicit inputs
- Implicit outputs
- Circular build dependency detection
- C/C++ header dependencies
-
depfileoption -
depsoption
-
- Windows support
Similar projects
License
Dual-licensed under MIT and Apache 2.0.