Add ability to run an example game

This commit is contained in:
Gwilym Kuiper 2022-02-24 22:19:25 +00:00
parent 83be1c7c22
commit 43f8e62631

View file

@ -16,6 +16,12 @@ run-example-release example:
just _build-example-release "{{example}}" just _build-example-release "{{example}}"
mgba-qt "$CARGO_TARGET_DIR/thumbv4t-none-eabi/release/examples/{{example}}" mgba-qt "$CARGO_TARGET_DIR/thumbv4t-none-eabi/release/examples/{{example}}"
run-game game:
(cd "examples/{{game}}" && cargo run --release)
run-game-debug game:
(cd "examples/{{game}}" && cargo run)
ci: && build-roms ci: && build-roms
just _all-crates _build just _all-crates _build
just _all-crates _test-debug just _all-crates _test-debug