17 lines
281 B
Makefile
17 lines
281 B
Makefile
|
[env.production]
|
||
|
RELEASE_FLAG = "--release"
|
||
|
|
||
|
[tasks.default]
|
||
|
alias = "all"
|
||
|
|
||
|
[tasks.all]
|
||
|
dependencies = ["build"]
|
||
|
|
||
|
[tasks.clean]
|
||
|
command = "cargo"
|
||
|
args = ["clean"]
|
||
|
|
||
|
[tasks.build]
|
||
|
command = "cargo"
|
||
|
args = ["objcopy", "@@remove-empty(RELEASE_FLAG)", "--", "-O", "binary", "rust.kex"]
|