Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-15 00:18:14 +00:00
parent 605e1cdfd8
commit 367b1e4cb2
7 changed files with 56 additions and 23 deletions

33
tldr/bacon Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`