-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.toml
47 lines (38 loc) · 834 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
[tasks.check]
description = "Run check in workspace project"
command = "cargo"
args = ["check", "--all-features", "--workspace"]
[tasks.fmt-check]
description = "Runs the cargo rustfmt plugin during CI."
command = "cargo"
args = ["fmt", "--all", "--", "--check"]
[tasks.clippy-check]
description = "Runs clippy without dependencies."
command = "cargo"
args = ["clippy", "--", "-D", "warnings"]
[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--emit=files"]
[tasks.clippy]
install_crate = "rustfmt"
command = "cargo"
args = ["clippy"]
[tasks.format-check]
dependencies = [
"fmt-check",
"clippy-check"
]
[tasks.format-code]
dependencies = [
"format",
"clippy",
]
[tasks.test]
command = "cargo"
args = ["test"]
[tasks.check-ci]
dependencies = [
"format-check",
"test",
]