-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.toml
46 lines (37 loc) · 940 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
env_files = [
{ path = ".development.env", profile = "development" }
]
[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt"]
[tasks.check]
command = "cargo"
args = ["check"]
[tasks.clip]
install_crate = "clippy"
command = "cargo"
args = ["clippy", "--all-targets", "--all-features", "--", "-W", "clippy::pedantic", "-D", "warnings"]
[tasks.clippy]
install_crate = "clippy"
command = "cargo"
args = ["clippy", "--all-targets", "--all-features", "--", "-W", "clippy::pedantic", "-D", "warnings"]
[tasks.build]
command = "cargo"
args = ["build", "--release"]
[tasks.coverage]
clear = true
command = "cargo"
args = ["tarpaulin", "--ignore-tests", "-v", "--out", "Xml"]
[tasks.coverage-report]
clear = true
command = "cargo"
args = ["tarpaulin", "--ignore-tests", "-v", "--out", "Html"]
[tasks.all]
dependencies = [
"format",
"clippy",
"codecov-flow"
]
[env]
CARGO_MAKE_COVERAGE_PROVIDER = "tarpaulin"