default_job = "check"
env.CARGO_TERM_COLOR = "always"
env.DDOC_LOG = "debug"
ignore = [
"examples/columns/site",
"examples/columns/site/*"
]
[jobs.check]
command = ["cargo", "check"]
need_stdout = false
[jobs.check-all]
command = ["cargo", "check", "--all-targets"]
need_stdout = false
[jobs.clippy]
command = ["cargo", "clippy"]
need_stdout = false
[jobs.clippy-all]
command = [
"cargo", "clippy",
"--all-targets",
"--",
"-A", "clippy::bool_to_int_with_if",
"-A", "clippy::collapsible_if",
"-A", "clippy::collapsible_else_if",
"-A", "clippy::derive_partial_eq_without_eq",
]
need_stdout = false
[jobs.pedantic]
command = [
"cargo", "clippy",
"--",
"-W", "clippy::pedantic",
"-A", "clippy::needless_raw_string_hashes",
"-A", "clippy::struct_excessive_bools",
"-A", "clippy::wildcard_imports",
"-A", "clippy::must_use_candidate",
"-A", "clippy::map_unwrap_or",
"-A", "clippy::uninlined_format_args",
"-A", "clippy::match_same_arms",
"-A", "clippy::redundant-else",
"-A", "clippy::unnecessary_debug_formatting",
"-A", "clippy::return-self-not-must-use",
]
need_stdout = false
[jobs.test]
command = ["cargo", "test"]
need_stdout = true
[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"
[jobs.run]
command = [
"cargo", "run",
"--",
"/home/dys/dev/bacon/ddoc",
]
need_stdout = true
allow_warnings = true
background = true
[jobs.serve]
command = [
"cargo", "run",
"--",
"--serve",
"website"
]
watch = ["resources"]
need_stdout = true
need_stderr = true
allow_warnings = true
background = false
on_change_strategy = "kill_then_restart"
[jobs.example]
command = [
"cargo", "run",
"--",
"--serve",
"examples/columns"
]
watch = ["resources"]
need_stdout = true
need_stderr = true
allow_warnings = true
background = false
on_change_strategy = "kill_then_restart"
[keybindings]
c = "job:clippy-all"
p = "job:pedantic"
s = "job:serve"
e = "job:example"