mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Add ability to run example in release mode
This commit is contained in:
parent
28cc061596
commit
83be1c7c22
6
justfile
6
justfile
|
@ -12,6 +12,10 @@ run-example example:
|
||||||
just _build-example "{{example}}"
|
just _build-example "{{example}}"
|
||||||
mgba-qt "$CARGO_TARGET_DIR/thumbv4t-none-eabi/debug/examples/{{example}}"
|
mgba-qt "$CARGO_TARGET_DIR/thumbv4t-none-eabi/debug/examples/{{example}}"
|
||||||
|
|
||||||
|
run-example-release example:
|
||||||
|
just _build-example-release "{{example}}"
|
||||||
|
mgba-qt "$CARGO_TARGET_DIR/thumbv4t-none-eabi/release/examples/{{example}}"
|
||||||
|
|
||||||
ci: && build-roms
|
ci: && build-roms
|
||||||
just _all-crates _build
|
just _all-crates _build
|
||||||
just _all-crates _test-debug
|
just _all-crates _test-debug
|
||||||
|
@ -72,3 +76,5 @@ _clean crate:
|
||||||
|
|
||||||
_build-example example:
|
_build-example example:
|
||||||
(cd agb && cargo build "--example={{example}}")
|
(cd agb && cargo build "--example={{example}}")
|
||||||
|
_build-example-release example:
|
||||||
|
(cd agb && cargo build "--example={{example}}" --release)
|
Loading…
Reference in a new issue