mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 03:36:41 +01:00
64 lines
1.7 KiB
TOML
64 lines
1.7 KiB
TOML
# https://dystroy.org/bacon/config/
|
|
default_job = "test"
|
|
env.CARGO_TERM_COLOR = "always"
|
|
[keybindings]
|
|
c = "job:check"
|
|
t = "job:test"
|
|
n = "job:nextest"
|
|
l = "job:clippy"
|
|
[jobs]
|
|
[jobs.check]
|
|
command = ["cargo", "check"]
|
|
need_stdout = false
|
|
watch = ["deps", "engine", "device", "app"]
|
|
[jobs.check-all]
|
|
command = ["cargo", "check", "--all-targets"]
|
|
need_stdout = false
|
|
watch = ["deps", "engine", "device", "app"]
|
|
[jobs.clippy]
|
|
command = ["cargo", "clippy"]
|
|
need_stdout = false
|
|
watch = ["deps", "engine", "device", "app"]
|
|
[jobs.clippy-all]
|
|
command = ["cargo", "clippy", "--all-targets"]
|
|
need_stdout = false
|
|
watch = ["deps", "engine", "device", "app"]
|
|
[jobs.test]
|
|
command = ["cargo", "test", "--workspace", "--exclude", "jack"]
|
|
need_stdout = true
|
|
watch = ["deps", "engine", "device", "app"]
|
|
[jobs.nextest]
|
|
watch = ["deps", "engine", "device", "app"]
|
|
command = [
|
|
"cargo", "nextest", "run",
|
|
"--hide-progress-bar", "--failure-output", "final"
|
|
]
|
|
need_stdout = true
|
|
analyzer = "nextest"
|
|
[jobs.doc]
|
|
command = ["cargo", "doc", "--no-deps"]
|
|
need_stdout = false
|
|
[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
|
|
[jobs.run]
|
|
command = [
|
|
"cargo", "run",
|
|
# put launch parameters for your program behind a `--` separator
|
|
]
|
|
need_stdout = true
|
|
allow_warnings = true
|
|
background = true
|
|
[jobs.run-long]
|
|
watch = ["deps", "engine", "device", "app"]
|
|
command = [ "cargo", "run", ]
|
|
need_stdout = true
|
|
allow_warnings = true
|
|
background = false
|
|
on_change_strategy = "kill_then_restart"
|
|
[jobs.ex]
|
|
watch = ["deps", "engine", "device", "app"]
|
|
command = ["cargo", "run", "--example"]
|
|
need_stdout = true
|
|
allow_warnings = true
|