-
-
Notifications
You must be signed in to change notification settings - Fork 281
Expand file tree
/
Copy pathbacon.toml
More file actions
118 lines (103 loc) · 2.64 KB
/
bacon.toml
File metadata and controls
118 lines (103 loc) · 2.64 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
# 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.bacon-ls]
command = [ "cargo", "check", "--message-format", "json-diagnostic-rendered-ansi" ]
analyzer = "cargo_json"
need_stdout = true
[exports.cargo-json-spans]
auto = true
exporter = "analyzer"
line_format = "{diagnostic.level}:{span.file_name}:{span.line_start}:{span.line_end}:{diagnostic.message}"
path = "bacon-analyzzzer.json"
[jobs.check]
command = [
"cargo", "check",
"--features", "clipboard kitty-csi-check",
]
need_stdout = false
watch = ["benches"]
[jobs.android]
command = [
"cargo", "ndk", "check",
"-t", "x86_64",
"--features", "clipboard",
]
need_stdout = false
[jobs.miri]
command = ["cargo", "+nightly", "miri", "run"]
need_stdout = true
[jobs.windows]
command = [
"cross", "build",
"--target", "x86_64-pc-windows-gnu",
"--features", "clipboard"
]
[jobs.netbsd]
command = [
"cross", "build",
"--target", "x86_64-unknown-netbsd",
"--release",
"--features", "clipboard"
]
[jobs.light]
command = ["cargo", "check"]
need_stdout = false
[jobs.clippy]
command = [
"cargo", "clippy",
"--",
"-W", "clippy::explicit_iter_loop",
"-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::uninlined_format_args",
"-A", "clippy::unnecessary_map_or",
"-A", "clippy::vec_init_then_push",
]
need_stdout = false
[jobs.pedantic]
command = [
"cargo", "clippy",
"--",
"-W", "clippy::pedantic",
"-A", "clippy::bool_to_int_with_if",
"-A", "clippy::map_unwrap_or",
"-A", "clippy::match_like_matches_macro",
"-A", "clippy::missing_errors_doc",
"-A", "clippy::module_inception",
"-A", "clippy::similar_names",
"-A", "clippy::struct_excessive_bools",
"-A", "clippy::too_many_lines",
"-A", "clippy::unnecessary_debug_formatting",
"-A", "clippy::unreadable_literal",
"-A", "clippy::wildcard_imports",
]
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:check-all"