Skip to content

Commit 11cbb2b

Browse files
authored
chore: use cargo xtask for bacon clippy command (#1592)
1 parent 50ba965 commit 11cbb2b

File tree

1 file changed

+6
-34
lines changed

1 file changed

+6
-34
lines changed

bacon.toml

+6-34
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,19 @@ command = ["cargo", "check", "--all-targets", "--all-features"]
1616
need_stdout = false
1717

1818
[jobs.check-crossterm]
19-
command = [
20-
"cargo",
21-
"check",
22-
"--all-targets",
23-
"--no-default-features",
24-
"--features",
25-
"crossterm",
26-
]
19+
command = ["cargo", "check", "--all-targets", "--no-default-features", "--features", "crossterm"]
2720
need_stdout = false
2821

2922
[jobs.check-termion]
30-
command = [
31-
"cargo",
32-
"check",
33-
"--all-targets",
34-
"--no-default-features",
35-
"--features",
36-
"termion",
37-
]
23+
command = ["cargo", "check", "--all-targets", "--no-default-features", "--features", "termion"]
3824
need_stdout = false
3925

4026
[jobs.check-termwiz]
41-
command = [
42-
"cargo",
43-
"check",
44-
"--all-targets",
45-
"--no-default-features",
46-
"--features",
47-
"termwiz",
48-
]
27+
command = ["cargo", "check", "--all-targets", "--no-default-features", "--features", "termwiz"]
4928
need_stdout = false
5029

51-
[jobs.clippy]
52-
command = ["cargo", "clippy", "--all-targets"]
30+
[jobs.clippy-all]
31+
command = ["cargo", "xtask", "lint-clippy"]
5332
need_stdout = false
5433

5534
[jobs.test]
@@ -91,14 +70,7 @@ need_stdout = false
9170
on_success = "job:doc" # so that we don't open the browser at each change
9271

9372
[jobs.coverage]
94-
command = [
95-
"cargo",
96-
"llvm-cov",
97-
"--lcov",
98-
"--output-path",
99-
"target/lcov.info",
100-
"--all-features",
101-
]
73+
command = ["cargo", "llvm-cov", "--lcov", "--output-path", "target/lcov.info", "--all-features"]
10274

10375
[jobs.coverage-unit-tests-only]
10476
command = [

0 commit comments

Comments
 (0)