-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile.toml
57 lines (46 loc) · 962 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
47
48
49
50
51
52
53
54
55
56
57
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
[tasks.msrv]
install_crate = "cargo-msrv"
command = "cargo"
args = ["msrv"]
[tasks.minlock]
toolchain = "nightly"
command = "cargo"
args = ["update", "-Zdirect-minimal-versions"]
[tasks.build]
command = "cargo"
args = ["build"]
[tasks.check]
command = "cargo"
args = ["check"]
[tasks.fmt-check]
command = "cargo"
args = ["fmt", "--check"]
[tasks.doc]
toolchain = "nightly"
env = { "RUSTDOCFLAGS" = "-D warnings --cfg docsrs" }
command = "cargo"
args = ["doc", "--no-deps", "--all-features"]
[tasks.clippy]
command = "cargo"
args = ["clippy", "--all-targets", "--all-features", "--", "-Dwarnings"]
[tasks.doctest]
command = "cargo"
args = ["test", "--all-features", "--doc"]
[tasks.tests]
command = "cargo"
args = ["test", "doctest"]
[tasks.pre-commit]
dependencies = [
"check",
"build",
"fmt-check",
"clippy",
"doc",
]
[tasks.all]
dependencies = [
"pre-commit",
"tests",
]