1.0.0 |
|
---|
#23 in #verbose
19KB
368 lines
Rust Make
Rust Make is a simple build system written in Rust NOT COMPATIBLE WITH WINDOWS YET.
Example Rust Make Files rsm.build
YAML
#? YAML
verbose: 'normal'
constants:
- text: Hello, world!
- text-br: Olá, Mundo!
tasks:
- all:
- "exec: echo $(text)"
- "exec: echo $(text-br)"
- test:
- "exec: echo $(text)"
TOML
#? TOML
[constants]
text = "Hello, world!"
text-br = "Olá, Mundo!"
[tasks]
[tasks.main]
run = [
"exec: echo $(text-br)",
"exec: echo $(text)",
"task: test"
]
[tasks.test]
run = [
'exec: echo $(text)'
]
Running
Requirements
Run cargo run
or cargo r --release
Install cargo install --path .
Dependencies
~1–11MB
~75K SLoC