From f36f0ea951cfded144543e8ece5bcd2e640a28ea Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Tue, 27 Oct 2026 09:41:51 -0700 Subject: [PATCH] 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. --- justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/justfile b/justfile index ecf7a67f..b3b6966b 100644 --- a/justfile +++ b/justfile @@ -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