From aac1e9ecf26130c4565dc4296df337864592a6d3 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Sat, 3 Jan 2026 11:39:26 -0800 Subject: [PATCH] build(just): start using vararg build/install target variants --- justfile | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/justfile b/justfile index 12dd74cd..d0bf5b43 100644 --- a/justfile +++ b/justfile @@ -14,14 +14,32 @@ fix: clean: cargo clean -install-with-jsonschema target: - cargo install --path {{ target }} --locked --target-dir ~/.cargo/bin +install-targets *targets: + for target in {{ targets }}; do just install-target $target; done -install target: - cargo install --path {{ target }} --locked --target-dir ~/.cargo/bin --no-default-features +install-target target: + cargo install --path {{ target }} --locked --no-default-features -build target: - cargo build --package {{ target }} --locked --release +install-targets-with-jsonschema *targets: + for target in {{ targets }}; do just install-target-with-jsonschema $target; done + +install-target-with-jsonschema target: + cargo install --path {{ target }} --locked + +install: + just install-targets komorebic komorebi komorebi-bar + +install-with-jsonschema: + just install-targets-with-jsonschema komorebic komorebic-no-console komorebi komorebi-bar komorebi-gui komorebi-shortcuts + +build-targets *targets: + for target in {{ targets }}; do just build-target $target; done + +build-target target: + cargo build --package {{ target }} --locked --release --no-default-features + +build: + just build-targets komorebic komorebi komorebi-bar run target: cargo run --bin {{ target }} --locked