-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
50 lines (39 loc) · 935 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
# docs: https://github.com/sagiegurari/cargo-make
[tasks.start]
env = { RUST_LOG = "debug" }
command = "cargo"
args = ["watch", "-x", "run"]
[tasks.build]
command = "cargo"
args = ["build"]
[tasks.tests]
run_task = { name = ["clippy", "format", "test", "coverage"] }
[tasks.clippy]
command = "cargo"
args = ["clippy"]
[tasks.format]
command = "cargo"
args = ["fmt", "--", "--check"]
[tasks.test]
command = "cargo"
toolchain = 'nightly'
args = ["test"]
[tasks.watch]
command = "cargo"
toolchain = 'nightly'
args = ["watch", "-x", "test -- --nocapture"]
[tasks.insta]
command = "cargo"
toolchain = 'nightly'
args = ["insta", "test"]
[tasks.review]
command = "cargo"
toolchain = 'nightly'
args = ["insta", "review"]
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.tarpaulin]
command = "cargo"
toolchain = "nightly"
args = ["tarpaulin", "--all-features", "--workspace", "--tests", "--fail-under", "37", "--out", "Html"]