forked from juicycleff/north-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
57 lines (46 loc) · 1003 Bytes
/
Makefile.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--emit=files"]
[tasks.lint]
install_crate = "clippy"
command = "cargo"
args = ["clippy"]
[tasks.lintfix]
install_crate = "clippy"
command = "cargo"
args = ["clippy", "--fix", "--allow-dirty"]
[tasks.build-with-verbose]
command = "cargo"
args = ["build", "--verbose", "--all-features"]
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.build-project]
command = "cargo"
args = ["build", "-p", "${@}", "--verbose", "--all-features"]
dependencies = ["clean"]
[tasks.build]
command = "cargo"
args = ["build"]
dependencies = ["clean"]
[tasks.prepare]
command = "sh"
args = ["./setup.sh"]
[tasks.build-prod]
command = "cargo"
args = ["build", "--release", "--all-features"]
dependencies = ["clean"]
[tasks.test]
command = "cargo"
args = ["test"]
dependencies = []
#dependencies = ["clean"]
[tasks.my-flow]
dependencies = [
"format",
"build",
"test"
]