From e9455d6031be2e521a0257a8f126747d3f96c738 Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Wed, 3 Apr 2024 14:18:54 +0100 Subject: [PATCH] Fix justfile to produce a file in the correct place --- justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index ce2d3c50..f56a44d7 100644 --- a/justfile +++ b/justfile @@ -123,7 +123,10 @@ _build-rom folder name: cp -v "$GBA_FILE" "examples/target/examples/$GAME_NAME.gba" gbafix *args: - (cd agb-gbafix && cargo run --release -- {{args}}) + (cd agb-gbafix && cargo build --release && cd "{{invocation_directory()}}" && "$CARGO_TARGET_DIR/release/agb-gbafix" {{args}}) + +addr2line *args: + (cd agb-addr2line && cargo build --release && cd "{{invocation_directory()}}" && "$CARGO_TARGET_DIR/release/agb-addr2line" {{args}}) _all-crates target: for CARGO_PROJECT_FILE in agb-*/Cargo.toml agb/Cargo.toml tracker/agb-*/Cargo.toml; do \