mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Reduce what gets built quite a lot more
This commit is contained in:
parent
1593c0e8b6
commit
98a55b3ce2
6
justfile
6
justfile
|
@ -3,9 +3,9 @@ export CARGO_TARGET_DIR := env_var_or_default('CARGO_TARGET_DIR', justfile_direc
|
||||||
build: build-roms
|
build: build-roms
|
||||||
|
|
||||||
build-debug:
|
build-debug:
|
||||||
just _all-crates _build-debug
|
just _build-debug agb
|
||||||
build-release:
|
build-release:
|
||||||
just _build-release agb
|
just _build-release agb
|
||||||
clippy:
|
clippy:
|
||||||
just _all-crates _clippy
|
just _all-crates _clippy
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ _build-rom folder name:
|
||||||
TARGET_FOLDER="${CARGO_TARGET_DIR:-$GAME_FOLDER/target}"
|
TARGET_FOLDER="${CARGO_TARGET_DIR:-$GAME_FOLDER/target}"
|
||||||
GBA_FILE="$TARGET_FOLDER/$GAME_NAME.gba"
|
GBA_FILE="$TARGET_FOLDER/$GAME_NAME.gba"
|
||||||
|
|
||||||
(cd "$GAME_FOLDER" && cargo clippy && cargo build --release --target thumbv4t-none-eabi)
|
(cd "$GAME_FOLDER" && cargo build --release --target thumbv4t-none-eabi && cargo clippy --release --target thumbv4t-none-eabi)
|
||||||
|
|
||||||
mkdir -p examples/target/examples
|
mkdir -p examples/target/examples
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue