build(just): build both executables before run and record

The recorder opens the viewer as komorebi-recorder-gui, a separate executable
beside it, and `cargo run --bin komorebi-recorder` builds only the recorder.
The viewer was left as it was last built, which meant fixes to it did not
show up in `just run komorebi-recorder` until the other was built by hand.
This commit is contained in:
LGUG2Z committed 2026-10-27 22:22:57 -07:00
1 parent 5a4d89ffd5
commit f36f0ea951
1 file changed
+4
+4
View File
@@ -45,11 +45,15 @@ install:
build:
cargo build --package komorebi-recorder --locked --release
# the recorder opens the viewer as komorebi-recorder-gui, a separate executable beside it, which `cargo run` of
# the recorder alone would not rebuild: build both
run target:
cargo build --bins --locked
cargo run --bin {{ target }} --locked
# record a bug repro: screen + komorebi log/events + OS trace, then query it with `komorebi-recorder at`
record *args:
cargo build --bins --locked
cargo run --bin komorebi-recorder --locked -- {{ args }}
# cross-compile komorebi-recorder.exe and komorebi-recorder-gui.exe into ./result-windows