bacon Command Examples
A background code checker for Rust. More information: https://github.com/Canop/bacon.
- Run
cargo checkwhenever a change is detected in the current directory:
bacon
- Run
cargo testwhenever a change is detected in the given directory:
bacon test {{path/to/directory}}
- Run
cargo checkagainst all targets whenever a change is detected in the current directory:
bacon check-all
- Run a specific job whenever a change is detected in the current directory:
bacon {{run|test|clippy|doc|...}}
- List all currently available jobs:
bacon --list-jobs
- Initialize a
bacon.tomlconfiguration file in the current directory:
bacon --init