build(just): add build and build-target(s) to justfile

This commit is contained in:
LGUG2Z
2025-02-04 16:08:57 -08:00
parent 95d758e371
commit 2ca9c9048b

View File

@@ -24,6 +24,15 @@ install-target target:
install:
just install-targets komorebic komorebic-no-console komorebi komorebi-bar komorebi-gui
build-targets *targets:
"{{ targets }}" -split ' ' | ForEach-Object { just build-target $_ }
build-target target:
cargo +stable build --release --package {{ target }} --locked
build:
just build-targets komorebic komorebic-no-console komorebi komorebi-bar komorebi-gui
run target:
cargo +stable run --bin {{ target }} --locked