forked from Canop/broot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bacon.toml
62 lines (53 loc) · 1.45 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
# This is a configuration file for the bacon tool
# More info at https://github.com/Canop/bacon
default_job = "check"
[jobs]
[jobs.check-all]
command = ["cargo", "check", "--all-targets", "--color", "always"]
need_stdout = false
watch = ["tests", "benches", "examples"]
[jobs.check]
command = [
"cargo", "check",
"--color", "always",
"--features", "clipboard kitty-csi-check trash",
]
need_stdout = false
watch = ["benches"]
[jobs.win]
command = ["cross", "build", "--target", "x86_64-pc-windows-gnu", "--release", "--features", "clipboard"]
[jobs.light]
command = ["cargo", "check", "--color", "always"]
need_stdout = false
[jobs.clippy]
command = [
"cargo", "clippy",
"--color", "always",
"--",
"-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",
]
need_stdout = false
[jobs.test]
command = ["cargo", "test", "--color", "always"]
need_stdout = true
[keybindings]
a = "job:check-all"
i = "job:initial"
c = "job:clippy"
d = "job:doc-open"
t = "job:test"
r = "job:run"