# This is a configuration file for the bacon tool # # Complete help on configuration: https://dystroy.org/bacon/config/ # # You may check the current default at # https://github.com/Canop/bacon/blob/main/defaults/default-bacon.toml default_job = "check" env.CARGO_TERM_COLOR = "always" [jobs.check] command = ["cargo", "check", "--all-targets"] need_stdout = false [jobs.clippy] command = ["cargo", "clippy", "--all-targets"] need_stdout = false [jobs.test] command = [ "cargo", "nextest", "run", ] need_stdout = true analyzer = "nextest" [jobs.run] command = [ "cargo", "run", ] need_stdout = true allow_warnings = true background = false on_change_strategy = "kill_then_restart" # kill = ["pkill", "-TERM", "-P"]' [jobs.dev] command = [ "just", "dev" ] need_stdout = true allow_warnings = true background = false on_change_strategy = "kill_then_restart" # You may define here keybindings that would be specific to # a project, for example a shortcut to launch a specific job. # Shortcuts to internal functions (scrolling, toggling, etc.) # should go in your personal global prefs.toml file instead. [keybindings] c = "job:clippy" # comment this to have 'c' run clippy on only the default target shift-c = "job:check" d = "job:dev"