-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.toml
46 lines (36 loc) · 1.02 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
[env]
RUST_BACKTRACE = "1"
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
[tasks.install-nightly]
command = "rustup"
args = ["toolchain", "install", "nightly", "--component", "rustfmt"]
[tasks.install-fmt]
command = "rustup"
args = ["component", "add", "rustfmt", "--toolchain", "nightly"]
dependencies = ["install-nightly"]
[tasks.fmt]
toolchain = "nightly"
command = "cargo"
args = ["fmt"]
dependencies = ["install-fmt"]
[tasks.test]
command = "cargo"
args = ["--locked", "test", "--", "--quiet", "--show-output"]
[tasks.test-quiet]
command = "cargo"
args = ["--quiet", "--locked", "test"]
[tasks.fmt-check]
toolchain = "nightly"
command = "cargo"
args = ["--quiet", "fmt", "--", "--check", "--quiet"]
dependencies = ["install-fmt"]
[tasks.clippy-check]
command = "cargo"
args = ["--quiet", "clippy"]
[tasks.doc-check]
command = "cargo"
args = ["--quiet", "doc"]
[tasks.ci]
dependencies = ["test-quiet", "fmt-check", "clippy-check", "doc-check"]
[tasks.update-readme]
script = "cargo install cargo-readme && cargo readme > README.md"