aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2024-09-16 21:13:45 +0200
committerDaniel Jankowski <daniel.jankowski@rub.de>2024-09-16 21:13:45 +0200
commitae36ffa191c6d205ce9542cac3c0f969aea20173 (patch)
tree7d724b1363c1b201f30ce2f01bcb84b7ac7cb7bd
parentchore: update cargo deps (diff)
downloadsl0pstatus-ae36ffa191c6d205ce9542cac3c0f969aea20173.tar.gz
sl0pstatus-ae36ffa191c6d205ce9542cac3c0f969aea20173.tar.xz
sl0pstatus-ae36ffa191c6d205ce9542cac3c0f969aea20173.zip
chore: add descriptions to justfile
-rw-r--r--justfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/justfile b/justfile
index df25161..3cd9eab 100644
--- a/justfile
+++ b/justfile
@@ -1,19 +1,30 @@
+# Default recipe, when nothing's selected
+[private]
+default:
+ just --choose
+
+# Run benchmarks and compare to previous runs.
bench:
cargo bench --features=bench
+# Build zjstatus with the tracing feature enabled.
build:
cargo build --features tracing
+# Build zjstatus with tracing and start a zellij session with the dev layout.
run: build
zellij -l ./plugin-dev-workspace.kdl -s zjstatus-dev
+# Watch and run tests with nextest.
test:
cargo watch -x "nextest run --lib"
+# Lint with clippy and cargo audit.
lint:
cargo clippy --all-targets --all-features
cargo audit
+# Create and push a new release version.
release version:
cargo set-version {{version}}
direnv exec . cargo build --release