-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.toml
89 lines (72 loc) · 1.68 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[config]
skip_core_tasks = true
[env]
RUST_BACKTRACE = "full"
RUSTFLAGS = "-D warnings"
# CARGO_TERM_VERBOSE = "true"
CARGO_TERM_VERBOSE = "false"
[tasks.build-all-features]
command = "cargo"
# args = ["build", "--all-features", "--all-targets"]
args = ["build", "--all-features"]
[tasks.build-no-features]
command = "cargo"
args = ["build", "--verbose"]
[tasks.build-sync]
command = "cargo"
args = ["build", "--features", "sync"]
[tasks.build-async-std]
command = "cargo"
args = ["build", "--features", "async_std"]
[tasks.build-async-std-tokio-compat]
command = "cargo"
args = ["build", "--features", "async_std tokio_compat"]
[tasks.build]
dependencies = [
"build-all-features",
"build-no-features",
"build-sync",
"build-async-std",
"build-async-std-tokio-compat",
]
[tasks.test-all-features]
command = "cargo"
#args = ["test", "--all-features", "--all-targets"]
args = ["test", "--all-features"]
[tasks.test-no-features]
command = "cargo"
args = ["test", "--verbose"]
[tasks.test-sync]
command = "cargo"
args = ["test", "--features", "sync"]
[tasks.test-async-std]
command = "cargo"
args = ["test", "--features", "async_std"]
[tasks.test-async-std-tokio-compat]
command = "cargo"
args = ["test", "--features", "async_std tokio_compat"]
[tasks.test]
dependencies = [
"test-all-features",
"test-no-features",
"test-sync",
"test-async-std",
"test-async-std-tokio-compat",
]
[tasks.codecov]
command = "cargo"
args = ["tarpaulin", "--verbose", "--all-features"]
[tasks.clippy]
command = "cargo"
args = ["clippy", "--all-features", "--", "-D", "warnings" ]
[tasks.fmt]
command = "cargo"
args = ["fmt", "--all", "--", "--check" ]
[tasks.default]
dependencies = [
"build",
"test",
"clippy",
"fmt",
"codecov",
]