- A simple task runner like
make
.
cargo install rmake
rmake
rmake {name of task}
rmake --help
[env]
MY_ENV_01 = "Hello,"
[variables]
MY_VAR_02 = "World!"
[[tasks]]
description = "anything"
name = "world"
depends_on = ["hello"]
command = [
"ECHO {{MY_VAR_02}}",
]
[[tasks]]
description = "anything"
name = "hello"
depends_on = []
command = [
"!MKDIR .tmp", # SAFE with "!"
"!DEL /S /Q .tmp\\*", # SAFE with "!"
"ECHO %MY_ENV_01%",
]
- Build causes NO AFFECTS when no modified files found.