phonograph/bacon.toml

48 lines
1.1 KiB
TOML
Raw Normal View History

2025-05-02 23:48:54 -07:00
default_job = "check"
env.CARGO_TERM_COLOR = "always"
[jobs.clippy]
command = ["cargo", "clippy"]
need_stdout = false
2025-07-08 14:37:03 -07:00
watch = ["interim-*"]
2025-05-02 23:48:54 -07:00
2025-07-08 14:37:03 -07:00
[jobs.check]
command = ["cargo", "check"]
2025-05-02 23:48:54 -07:00
need_stdout = false
[jobs.run-worker]
command = [
"cargo", "run", "worker",
]
need_stdout = true
allow_warnings = true
background = true
default_watch = false
[jobs.run-server]
2025-05-26 22:08:21 -07:00
command = ["cargo", "run", "serve"]
2025-05-02 23:48:54 -07:00
need_stdout = true
allow_warnings = true
background = false
on_change_strategy = "kill_then_restart"
kill = ["kill", "-s", "INT"]
2025-07-08 14:37:03 -07:00
watch = ["interim-*", "components/src"]
2025-05-02 23:48:54 -07:00
2025-07-08 14:37:03 -07:00
[jobs.watch-components]
command = ["deno", "task", "--cwd=components", "build"]
default_watch = false
watch = ["components/src"]
2025-05-02 23:48:54 -07:00
need_stdout = true
allow_warnings = true
2025-07-08 14:37:03 -07:00
background = false
2025-05-02 23:48:54 -07:00
# 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]
2025-07-08 14:37:03 -07:00
b = "job:watch-components"
c = "job:clippy"
2025-05-02 23:48:54 -07:00
r = "job:run-server"
w = "job:run-worker"