-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile.toml
More file actions
41 lines (34 loc) · 806 Bytes
/
Makefile.toml
File metadata and controls
41 lines (34 loc) · 806 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
[tasks.publish]
description = "Publish to crates.io"
dependencies = ["gh_checks"]
command = "cargo"
args = ["publish", "--all-features"]
[tasks.gh_checks]
dependencies = [
"cargo_check",
"test",
"check_fmt",
"clippy"
]
[tasks.cargo_check]
description = "Runs cargo check"
command = "cargo"
args = ["check"]
[tasks.check_fmt]
description = "Runs fmt in check mode"
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--all", "--", "--check"]
[tasks.test]
description = "Runs tests with all features"
command = "cargo"
args = ["test", "--all-features"]
[tasks.doc]
description = "Generates docs with all features"
command = "cargo"
args = ["doc", "--all-features"]
[tasks.clippy]
description = "Runs clippy"
install_crate = "clippy"
command = "cargo"
args = ["clippy", "--", "-Dwarnings"]