Files
dynamic-preauth/bacon.toml
Xevion b4022ff9db chore: add bacon config and improve dev workflow
- Add bacon.toml for Rust development watching with keybindings
- Update Justfile to use bacon for dev watching
- Configure frontend to build to ./public for backend serving
- Improve Justfile organization with comments and better task separation
- Add dev-backend and dev-frontend tasks for separate workflows
- Minor formatting fix in backend/src/state.rs
2025-12-11 17:58:10 -06:00

37 lines
960 B
TOML

# Bacon configuration for dynamic-preauth
default_job = "check"
[jobs.check]
command = ["cargo", "check", "--workspace", "--all-targets", "--all-features", "--color", "always"]
need_stdout = false
[jobs.clippy]
command = ["cargo", "clippy", "--workspace", "--all-targets", "--all-features", "--color", "always", "--", "-D", "warnings"]
need_stdout = false
[jobs.test]
command = ["cargo", "test", "--workspace", "--color", "always"]
need_stdout = true
[jobs.run]
command = ["cargo", "run", "--bin", "dynamic-preauth", "--color", "always"]
need_stdout = true
on_success = "back"
[jobs.doc]
command = ["cargo", "doc", "--workspace", "--all-features", "--no-deps", "--color", "always"]
need_stdout = false
[keybindings]
# Use 'c' to switch to check job
c = "job:check"
# Use 'l' to switch to clippy job
l = "job:clippy"
# Use 't' to switch to test job
t = "job:test"
# Use 'r' to switch to run job
r = "job:run"
# Use 'd' to switch to doc job
d = "job:doc"