1
0
forked from Rust/Core
Core/Makefile.toml
2024-01-31 16:31:47 +03:00

22 lines
495 B
TOML

[env.production]
RELEASE_FLAG = "--release"
[tasks.default]
alias = "all"
[tasks.all]
dependencies = ["build"]
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.build]
command = "cargo"
args = ["build", "@@remove-empty(RELEASE_FLAG)"]
[tasks.hwa]
command = "cargo"
args = ["objcopy", "@@remove-empty(RELEASE_FLAG)", "--example", "hwa", "--", "-O", "binary", "--strip-all", "rust.kex"]
#install_crate = { crate_name = "cargo-binutils", binary = "rust-objcopy", test_arg = ["--help"] }