From 43f8e62631409ed4fd900852d763131f058952f7 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Thu, 24 Feb 2022 22:19:25 +0000 Subject: [PATCH] Add ability to run an example game --- justfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/justfile b/justfile index 7fbe4ef4..0229f453 100644 --- a/justfile +++ b/justfile @@ -16,6 +16,12 @@ run-example-release example: just _build-example-release "{{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 just _all-crates _build just _all-crates _test-debug