2022-11-03 01:46:32 +00:00
|
|
|
############
|
|
|
|
# A make file for cargo-make, please install it with:
|
|
|
|
# cargo install --force cargo-make
|
|
|
|
############
|
|
|
|
|
2023-07-13 20:46:51 +00:00
|
|
|
[env]
|
|
|
|
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
|
2023-01-02 18:29:37 +00:00
|
|
|
|
2023-03-13 11:25:08 +00:00
|
|
|
[tasks.check-stable]
|
2023-07-13 20:46:51 +00:00
|
|
|
workspace = false
|
2023-03-13 11:25:08 +00:00
|
|
|
clear = true
|
|
|
|
dependencies = [
|
|
|
|
{ name = "check", path = "examples/counter_without_macros" },
|
|
|
|
{ name = "check", path = "examples/counters_stable" },
|
|
|
|
]
|
|
|
|
|
2023-07-10 00:47:10 +00:00
|
|
|
[tasks.ci-examples]
|
2023-07-13 20:46:51 +00:00
|
|
|
workspace = false
|
2023-04-21 14:33:12 +00:00
|
|
|
cwd = "examples"
|
|
|
|
command = "cargo"
|
2023-07-10 00:47:10 +00:00
|
|
|
args = ["make", "ci-clean"]
|
2023-04-21 14:33:12 +00:00
|
|
|
|
2023-07-24 15:35:34 +00:00
|
|
|
[tasks.check-examples]
|
|
|
|
workspace = false
|
|
|
|
cwd = "examples"
|
|
|
|
command = "cargo"
|
|
|
|
args = ["make", "check-clean"]
|
|
|
|
|
|
|
|
[tasks.build-examples]
|
|
|
|
workspace = false
|
|
|
|
cwd = "examples"
|
|
|
|
command = "cargo"
|
|
|
|
args = ["make", "build-clean"]
|
|
|
|
|
2023-05-08 12:35:27 +00:00
|
|
|
[tasks.clean-examples]
|
2023-07-13 20:46:51 +00:00
|
|
|
workspace = false
|
2023-05-08 12:35:27 +00:00
|
|
|
cwd = "examples"
|
|
|
|
command = "cargo"
|
2023-07-10 00:47:10 +00:00
|
|
|
args = ["make", "clean"]
|