1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 08:55:34 +02:00

bacon: add page (#15931)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
Rolv Apneseth 2025-03-14 22:30:22 +00:00 committed by GitHub
parent a1152f3972
commit 56bf24edaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
pages/common/bacon.md Normal file
View file

@ -0,0 +1,28 @@
# 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`