forked from HorizenLabs/ultraplonk_verifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
65 lines (49 loc) · 1.38 KB
/
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
58
59
60
61
62
63
64
65
[config]
default_to_workspace = false
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.build]
command = "cargo"
args = ["build", "--release"]
[tasks.test]
command = "cargo"
args = ["test", "--release"]
[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.format-check]
dependencies = ["format-inst"]
command = "cargo"
args = ["fmt", "--check"]
[tasks.clippy-inst]
install_crate = { crate_name = "clippy", rustup_component_name = "clippy", binary = "clippy", test_arg = "--help" }
[tasks.clippy]
dependencies = ["clippy-inst"]
command = "cargo"
args = ["clippy", "--", "--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.udeps-inst]
command = "cargo"
args = ["install", "cargo-udeps", "--locked"]
[tasks.udeps]
dependencies = ["udeps-inst"]
command = "cargo"
args = ["udeps", "--all-targets"]
[tasks.ci]
dependencies = ["clean", "build", "test", "format", "clippy", "audit"]
[tasks.ci-remote]
dependencies = ["clean", "build", "test", "format-check", "clippy", "audit"]