mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
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:
1 parent
5a4d89ffd5
commit
f36f0ea951
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user