mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-02 13:14:11 +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:
|
build:
|
||||||
cargo build --package komorebi-recorder --locked --release
|
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:
|
run target:
|
||||||
|
cargo build --bins --locked
|
||||||
cargo run --bin {{ target }} --locked
|
cargo run --bin {{ target }} --locked
|
||||||
|
|
||||||
# record a bug repro: screen + komorebi log/events + OS trace, then query it with `komorebi-recorder at`
|
# record a bug repro: screen + komorebi log/events + OS trace, then query it with `komorebi-recorder at`
|
||||||
record *args:
|
record *args:
|
||||||
|
cargo build --bins --locked
|
||||||
cargo run --bin komorebi-recorder --locked -- {{ args }}
|
cargo run --bin komorebi-recorder --locked -- {{ args }}
|
||||||
|
|
||||||
# cross-compile komorebi-recorder.exe and komorebi-recorder-gui.exe into ./result-windows
|
# cross-compile komorebi-recorder.exe and komorebi-recorder-gui.exe into ./result-windows
|
||||||
|
|||||||
Reference in new issue
Block a user