From 98a55b3ce27b01328f736eeb3f44d19a8632f62b Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sat, 23 Apr 2022 17:24:55 +0100 Subject: [PATCH] Reduce what gets built quite a lot more --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index f9ac1b0c..08ef20b0 100644 --- a/justfile +++ b/justfile @@ -3,9 +3,9 @@ export CARGO_TARGET_DIR := env_var_or_default('CARGO_TARGET_DIR', justfile_direc build: build-roms build-debug: - just _all-crates _build-debug + just _build-debug agb build-release: - just _build-release agb + just _build-release agb clippy: just _all-crates _clippy @@ -61,7 +61,7 @@ _build-rom folder name: TARGET_FOLDER="${CARGO_TARGET_DIR:-$GAME_FOLDER/target}" 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