mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Add ability to run example in release mode
This commit is contained in:
parent
28cc061596
commit
83be1c7c22
8
justfile
8
justfile
|
@ -12,6 +12,10 @@ run-example example:
|
|||
just _build-example "{{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
|
||||
just _all-crates _build
|
||||
just _all-crates _test-debug
|
||||
|
@ -71,4 +75,6 @@ _clean crate:
|
|||
(cd "{{crate}}" && cargo clean)
|
||||
|
||||
_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