-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
81 lines (62 loc) · 1.75 KB
/
Makefile.toml
File metadata and controls
81 lines (62 loc) · 1.75 KB
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
[config]
default_to_workspace = false
[tasks.ignore-members]
workspace = false
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.install-bare-metal]
command = "rustup"
args = ["target", "add", "thumbv7em-none-eabi"]
[tasks.build-bare-metal]
dependencies = ["install-bare-metal"]
command = "cargo"
args = ["build", "--no-default-features", "--target", "thumbv7em-none-eabi"]
[tasks.build]
command = "cargo"
args = ["build", "--release"]
[tasks.test]
command = "cargo"
args = ["test", "--release"]
[tasks.format_inst]
[tasks.format-inst]
install_crate = { crate_name = "rustfmt", rustup_component_name = "rustfmt", binary = "rustfmt", test_arg = "--help" }
[tasks.format]
dependencies = ["format-inst"]
command = "cargo"
args = ["fmt"]
[tasks.format-check]
dependencies = ["format-inst"]
command = "cargo"
args = ["fmt", "--check"]
[tasks.clippy-inst]
install_crate = { crate_name = "clippy", rustup_component_name = "clippy", binary = "clippy", test_arg = "--help" }
[tasks.clippy]
dependencies = ["clippy-inst"]
command = "cargo"
args = ["clippy", "--", "--deny", "warnings"]
[tasks.audit-inst]
command = "cargo"
args = ["install", "cargo-audit"]
[tasks.audit]
dependencies = ["audit-inst"]
command = "cargo"
args = ["audit"]
[tasks.cov]
command = "cargo"
args = ["llvm-cov", "--workspace", "--lcov", "--output-path", "lcov.info"]
[tasks.udeps-inst]
command = "cargo"
toolchain = "nightly"
args = ["install", "cargo-udeps", "--locked"]
[tasks.udeps]
dependencies = ["udeps-inst"]
toolchain = "nightly"
command = "cargo"
args = ["udeps", "--all-targets"]
[tasks.ci-common]
dependencies = ["build", "build-bare-metal", "test", "clippy", "audit", "udeps"]
[tasks.ci]
dependencies = ["format", "ci-common"]
[tasks.ci-remote]
dependencies = ["format-check", "ci-common"]