-
Notifications
You must be signed in to change notification settings - Fork 0
/
bacon.toml
35 lines (28 loc) · 984 Bytes
/
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
# This is a configuration file for the bacon tool
# More info at https://github.com/Canop/bacon
default_job = "clippy"
[keybindings]
k = "scroll-lines(-1)"
j = "scroll-lines(1)"
c = "job:clippy"
t = "job:test"
f = "job:fix"
shift-F9 = "toggle-backtrace"
ctrl-r = "toggle-raw-output"
ctrl-u = "scroll-page(-1)"
ctrl-d = "scroll-page(1)"
[jobs]
[jobs.clippy]
command = ["cargo", "clippy", "--workspace", "--tests", "--color", "always", "--", "-W", "clippy::all", "-W", "clippy::nursery", "-W", "clippy::pedantic"]
need_stdout = false
[jobs.test]
command = ["cargo", "test", "--color", "always"]
need_stdout = true
watch = ["tests"]
[jobs.doc]
command = ["cargo", "doc", "--color", "always", "--no-deps"]
need_stdout = false
[jobs.fix]
command = ["cargo", "clippy", "--fix", "--allow-staged", "--allow-dirty", "--workspace", "--tests", "--color", "always", "--", "-W", "clippy::all", "-W", "clippy::nursery", "-W", "clippy::pedantic"]
need_stdout = false
on_success = "job:clippy"