-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
50 lines (40 loc) · 943 Bytes
/
Makefile.toml
File metadata and controls
50 lines (40 loc) · 943 Bytes
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
[tasks.format-rust]
command = "cargo"
args = ["fmt"]
[tasks.format-toml]
install_crate = "taplo"
command = "taplo"
args = ["format"]
[tasks.format]
dependencies = ["format-rust", "format-toml"]
[tasks.format-rust-check]
command = "cargo"
args = ["fmt", "--", "--check"]
[tasks.format-toml-check]
install_crate = "taplo"
command = "taplo"
args = ["format", "--check"]
[tasks.clippy]
command = "cargo"
args = ["clippy", "--all-targets", "--", "--deny=warnings"]
[tasks.test]
command = "cargo"
args = ["test", "--no-fail-fast"]
[tasks.each-feature]
install_crate = "cargo-hack"
command = "cargo"
args = ["hack", "check", "--each-feature", "--no-dev-deps"]
[tasks.all-features]
install_crate = "cargo-hack"
command = "cargo"
args = ["hack", "check", "--feature-powerset", "--no-dev-deps"]
[tasks.verify]
dependencies = [
"format-rust-check",
"clippy",
"test",
"each-feature",
"all-features",
]
[tasks.default]
alias = "verify"