diff --git a/justfile b/justfile index 55f76f3..7fbe4ef 100644 --- a/justfile +++ b/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}}") \ No newline at end of file + (cd agb && cargo build "--example={{example}}") +_build-example-release example: + (cd agb && cargo build "--example={{example}}" --release) \ No newline at end of file