-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.toml
52 lines (45 loc) · 1.24 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
[config]
default_to_workspace = false
[tasks.examples]
description = "Run Mutation Testing on exampes"
command = "cargo"
args = [
"run",
"-p",
"cargo-muttest",
"--",
"muttest",
"-p",
"muttest-examples",
"--test-timeout",
"1",
"--all-features"
]
cwd = "examples"
[tasks.test-nightly]
description = "Run Mutation Testing on muttest-rs itself, nightly version"
toolchain = "nightly"
env.RUSTFLAGS = "--cfg procmacro2_semver_exempt"
command = "cargo"
args = ["test"]
[tasks.selftest]
description = "Run Mutation Testing on muttest-rs itself"
command = "cargo"
args = ["run", "-p", "cargo-muttest", "--", "muttest", "-p", "muttest-selftest"]
[tasks.selftest-nightly]
description = "Run Mutation Testing on muttest-rs itself, nightly version"
toolchain = "nightly"
env.RUSTFLAGS = "--cfg procmacro2_semver_exempt"
command = "cargo"
args = ["run", "-p", "cargo-muttest", "--", "muttest", "-p", "muttest-selftest"]
[tasks.lint]
description = "Run clippy"
command = "cargo"
args = ["clippy", "--tests", "--workspace"]
[tasks.check-fmt]
description = "Run clippy"
command = "cargo"
args = ["fmt", "--all"]
[tasks.all]
description = "Run everything (on stable)"
run_task = { name = ["test", "selftest", "examples", "lint", "check-fmt"] }