-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.toml
More file actions
105 lines (81 loc) · 2.34 KB
/
Makefile.toml
File metadata and controls
105 lines (81 loc) · 2.34 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[config]
default_to_workspace = false
[tasks.ignore-members]
workspace = false
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.install-wasm]
command = "rustup"
args = ["add", "target", "wasm32-unknown-unknown"]
[tasks.check]
command = "cargo"
env = { "SKIP_WASM_BUILD" = "1" }
args = ["check", "--all-features"]
[tasks.build]
command = "cargo"
args = ["build", "--release"]
[tasks.build-bench]
command = "cargo"
args = ["build", "--release", "--features", "runtime-benchmarks"]
[tasks.test-base]
command = "cargo"
env = { "SKIP_WASM_BUILD" = "1" }
args = ["test", "--release"]
[tasks.test]
dependencies = ["test-base"]
command = "cargo"
env = { "SKIP_WASM_BUILD" = "1" }
args = ["test", "--release", "--all-features"]
[tasks.test-bench]
dependencies = ["build-bench"]
command = "./target/release/vflow-node"
args = ["benchmark", "pallet", "--pallet", "*", "--extrinsic", "*", "-s", "2", "-r", "1"]
[tasks.format_inst]
[tasks.format-inst]
install_crate = {crate_name = "rustfmt", rustup_component_name = "rustfmt", binary = "rustfmt", test_arg = "--help"}
[tasks.format]
dependencies = ["format-inst"]
command = "cargo"
args = ["fmt"]
[tasks.clippy-inst]
install_crate = {crate_name = "clippy", rustup_component_name = "clippy", binary = "clippy", test_arg = "--help"}
[tasks.clippy]
dependencies = ["clippy-inst"]
command = "cargo"
env = { "SKIP_WASM_BUILD" = "1" }
args = ["clippy", "--all-targets", "--", "--deny", "warnings"]
[tasks.audit-inst]
command = "cargo"
args = ["install", "cargo-audit"]
[tasks.audit]
dependencies = ["audit-inst"]
command = "cargo"
args = ["audit"]
[tasks.cov]
command = "cargo"
args = ["llvm-cov", "--workspace", "--lcov", "--output-path", "lcov.info"]
[tasks.zepter-inst]
command = "cargo"
args = ["install", "zepter", "--locked"]
[tasks.zepter-fix-check]
dependencies = ["zepter-inst"]
command = "zepter"
args = ["run", "check-fix"]
[tasks.zepter-fix-format]
dependencies = ["zepter-inst"]
command = "zepter"
args = ["run", "format-fix"]
[tasks.zepter-fix]
dependencies = ["zepter-inst"]
command = "zepter"
args = ["run", "fix"]
[tasks.zepter]
dependencies = ["zepter-fix-check", "zepter-fix-format"]
[tasks.machete]
command = "cargo"
args = ["machete"]
[tasks.dependencies-check]
dependencies = ["audit", "machete"]
[tasks.ci]
dependencies = ["format", "zepter", "check", "build", "test", "test-bench", "clippy", "dependencies-check"]