-
-
Notifications
You must be signed in to change notification settings - Fork 237
/
bacon.toml
66 lines (56 loc) · 1.49 KB
/
bacon.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# This is a configuration file for the bacon tool
# More info at https://github.com/Canop/bacon
default_job = "check"
env.CARGO_TERM_COLOR = "always"
[jobs]
[jobs.check-all]
command = ["cargo", "check", "--all-targets"]
need_stdout = false
watch = ["tests", "benches", "examples"]
[jobs.check]
command = [
"cargo", "check",
"--features", "clipboard kitty-csi-check trash",
]
need_stdout = false
watch = ["benches"]
[jobs.miri]
command = ["cargo", "+nightly", "miri", "run"]
need_stdout = true
[jobs.win]
command = ["cross", "build", "--target", "x86_64-pc-windows-gnu", "--release", "--features", "clipboard"]
[jobs.light]
command = ["cargo", "check"]
need_stdout = false
[jobs.clippy]
command = [
"cargo", "clippy",
"--",
"-A", "clippy::bool_to_int_with_if",
"-A", "clippy::collapsible_else_if",
"-A", "clippy::collapsible_if",
"-A", "clippy::derive_partial_eq_without_eq",
"-A", "clippy::if_same_then_else",
"-A", "clippy::len_without_is_empty",
"-A", "clippy::manual_clamp",
"-A", "clippy::manual_range_contains",
"-A", "clippy::manual_unwrap_or",
"-A", "clippy::match_like_matches_macro",
"-A", "clippy::module_inception",
"-A", "clippy::needless_bool",
"-A", "clippy::needless_range_loop",
"-A", "clippy::neg_multiply",
"-A", "clippy::vec_init_then_push",
"-W", "clippy::explicit_iter_loop",
]
need_stdout = false
[jobs.test]
command = ["cargo", "test"]
need_stdout = true
[keybindings]
a = "job:check-all"
i = "job:initial"
c = "job:clippy"
d = "job:doc-open"
t = "job:test"
r = "job:run"