tengri/bacon.toml
2026-02-21 04:40:35 +02:00

46 lines
854 B
TOML

default_job = "check-all"
env.CARGO_TERM_COLOR = "always"
[keybindings]
c = "job:check"
d = "job:doc-open"
t = "job:test"
n = "job:nextest"
l = "job:clippy"
[jobs]
[jobs.check]
command = ["cargo", "check"]
need_stdout = false
watch = ["tengri"]
[jobs.clippy-all]
command = ["cargo", "clippy"]
need_stdout = false
watch = ["tengri"]
[jobs.test]
command = ["cargo", "test"]
need_stdout = true
watch = ["tengri"]
[jobs.doc]
command = ["cargo", "doc", "--no-deps"]
need_stdout = false
watch = ["tengri"]
[jobs.doc-open]
command = ["cargo", "doc", "--no-deps", "--open"]
need_stdout = false
on_success = "back" # so that we don't open the browser at each change
watch = ["tengri"]
[skin]
status_fg = 15
status_bg = 16
key_fg = 11
status_key_fg = 11
project_name_badge_fg = 42
project_name_badge_bg = 16