1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/bacon.md

29 lines
677 B
Markdown
Raw Normal View History

# bacon
> A background code checker for Rust.
> More information: <https://github.com/Canop/bacon>.
- Run `cargo check` whenever a change is detected in the current directory:
`bacon`
- Run `cargo test` whenever a change is detected in the given directory:
`bacon test {{path/to/directory}}`
- Run `cargo check` against 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.toml` configuration file in the current directory:
`bacon --init`