# 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 = ["tek", "deps"] [jobs.check-all] command = ["cargo", "check", "--all-targets"] need_stdout = false watch = ["tek", "deps"] [jobs.clippy] command = ["cargo", "clippy"] need_stdout = false watch = ["tek", "deps"] [jobs.clippy-all] command = ["cargo", "clippy", "--all-targets"] need_stdout = false watch = ["tek", "deps"] [jobs.test] command = ["cargo", "test", "--workspace", "--exclude", "jack"] need_stdout = true watch = ["tek", "deps"] [jobs.nextest] 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] command = [ "cargo", "run", ] need_stdout = true allow_warnings = true background = false on_change_strategy = "kill_then_restart" [jobs.ex] command = ["cargo", "run", "--example"] need_stdout = true allow_warnings = true