From 56bf24edaa82a67e2d6b43756fd4bef67bdf0ef5 Mon Sep 17 00:00:00 2001 From: Rolv Apneseth Date: Fri, 14 Mar 2025 22:30:22 +0000 Subject: [PATCH] bacon: add page (#15931) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/bacon.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/bacon.md diff --git a/pages/common/bacon.md b/pages/common/bacon.md new file mode 100644 index 0000000000..28323f6c6b --- /dev/null +++ b/pages/common/bacon.md @@ -0,0 +1,28 @@ +# bacon + +> A background code checker for Rust. +> More information: . + +- 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`