Fix justfile to produce a file in the correct place

This commit is contained in:
Gwilym Inzani 2024-04-03 14:18:54 +01:00
parent 89f6a2782b
commit e9455d6031

View file

@ -123,7 +123,10 @@ _build-rom folder name:
cp -v "$GBA_FILE" "examples/target/examples/$GAME_NAME.gba" cp -v "$GBA_FILE" "examples/target/examples/$GAME_NAME.gba"
gbafix *args: 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: _all-crates target:
for CARGO_PROJECT_FILE in agb-*/Cargo.toml agb/Cargo.toml tracker/agb-*/Cargo.toml; do \ for CARGO_PROJECT_FILE in agb-*/Cargo.toml agb/Cargo.toml tracker/agb-*/Cargo.toml; do \