-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
123 lines (105 loc) · 2.78 KB
/
Copy pathMakefile.toml
File metadata and controls
123 lines (105 loc) · 2.78 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[tasks.prepare-coverage]
script_runner = "@duckscript"
script = ["mkdir target/llvm-cov"]
[tasks.test]
# this needs the crates 'nextest' and 'cargo-llvm-cov' installed locally
dependencies = ["prepare-coverage"]
command = "cargo"
args = [
"llvm-cov",
"nextest",
"--no-fail-fast",
"--lcov",
"--output-path=target/llvm-cov/coverage.lcov",
]
[tasks.test-html]
command = "cargo"
args = ["llvm-cov", "nextest", "--html"]
[tasks.audit]
command = "cargo"
args = ["audit"]
[tasks.deny]
command = "cargo"
args = ["deny", "check"]
[tasks.zizmor]
description = "Audit GitHub Actions workflows"
command = "zizmor"
args = ["--persona=pedantic", "."]
[tasks.format]
description = "Check Rust formatting"
command = "cargo"
args = ["fmt", "--check"]
[tasks.unix-check]
description = "Check all native Unix targets and features"
command = "cargo"
args = ["check", "--all-targets", "--all-features"]
[tasks.unix-clippy]
description = "Run Clippy for all native Unix targets and features"
command = "cargo"
args = ["clippy", "--all-targets", "--all-features", "--", "-D", "warnings"]
[tasks.unix-test]
description = "Run all native Unix tests"
command = "cargo"
args = ["test", "--all-targets", "--all-features"]
[tasks.unix-build]
description = "Build all native Unix targets and features"
command = "cargo"
args = ["build", "--all-targets", "--all-features"]
[tasks.verify-unix]
description = "Run all native Unix verification checks"
dependencies = [
"format",
"unix-check",
"unix-clippy",
"unix-test",
"unix-build",
]
[tasks.windows-check]
description = "Cross-check the Windows MSVC target from Linux"
command = "cargo"
args = [
"xwin",
"check",
"--target",
"x86_64-pc-windows-msvc",
"--all-targets",
"--all-features",
]
[tasks.windows-clippy]
description = "Run Clippy for the Windows MSVC target from Linux"
command = "cargo"
args = [
"xwin",
"clippy",
"--target",
"x86_64-pc-windows-msvc",
"--all-targets",
"--all-features",
"--",
"-D",
"warnings",
]
[tasks.windows-build]
description = "Cross-build the Windows MSVC target from Linux"
command = "cargo"
args = [
"xwin",
"build",
"--target",
"x86_64-pc-windows-msvc",
"--all-targets",
"--all-features",
]
[tasks.verify-windows]
description = "Run all Linux-side Windows compatibility checks"
dependencies = ["windows-check", "windows-clippy", "windows-build"]
[tasks.windows-verify]
description = "Compatibility alias for verify-windows"
dependencies = ["verify-windows"]
[tasks.verify]
description = "Run all Linux-host native Unix and Windows cross-target checks"
dependencies = ["verify-unix", "verify-windows"]
[tasks.changelog]
description = "Update CHANGELOG.md with the latest merged PR's and closed Issues"
command = "github-changelog-md"
args = ["${@}"]