From 1dcd3e3f53d390dd97613f2530d25d2520d7d000 Mon Sep 17 00:00:00 2001 From: Trey Aspelund Date: Thu, 11 Jun 2026 13:48:35 -0600 Subject: [PATCH] justfile: pass all args to cargo build Pass all arguments supplied to `just build` to the underlying command `cargo build` so things like `--release` can be passed through just. Signed-off-by: Trey Aspelund Signed-off-by: Trey Aspelund --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 19484cfe..979951a9 100644 --- a/justfile +++ b/justfile @@ -8,8 +8,8 @@ build_excludes := if os() == "illumos" { test_excludes := build_excludes + " --exclude mg-tests" # Build the workspace. -build: - cargo build --workspace {{ build_excludes }} +build *ARGS: + cargo build --workspace {{ build_excludes }} {{ ARGS }} # Run cargo test for the workspace. test: