From b963065ad6c6c59eb3ab510b9fa18429e473cabe Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Tue, 9 Apr 2024 21:06:21 +0100 Subject: [PATCH] Update the justfile --- justfile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/justfile b/justfile index f04558b5..848cf761 100644 --- a/justfile +++ b/justfile @@ -11,21 +11,15 @@ build-release: just _build-release tracker/agb-tracker clippy: just _all-crates _clippy - just _clippy tools test: just _test-debug agb just _test-multiboot - just _test-debug agb-fixnum - just _test-debug agb-hashmap just _test-debug tracker/agb-tracker just _test-debug-arm agb - just _test-debug tools - just _test-debug emulator test-release: just _test-release agb - just _test-release agb-fixnum just _test-release tracker/agb-tracker just _test-release-arm agb @@ -35,8 +29,7 @@ doctest-agb: check-docs: (cd agb && cargo doc --target=thumbv4t-none-eabi --no-deps) (cd tracker/agb-tracker && cargo doc --target=thumbv4t-none-eabi --no-deps) - just _build_docs agb-fixnum - just _build_docs agb-hashmap + cargo doc --no-deps _build_docs crate: (cd "{{crate}}" && cargo doc --no-deps) @@ -46,10 +39,9 @@ clean: fmt: just _all-crates _fmt - just _fmt tools + fmt-check: just _all-crates _fmt-check - just _fmt-check tools run-example example: just _build-example "{{example}}" @@ -148,7 +140,7 @@ debug *args: (cd agb-debug && cargo build --release && cd "{{invocation_directory()}}" && "$CARGO_TARGET_DIR/release/agb-debug" {{args}}) _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 tracker/agb-tracker/Cargo.toml ./Cargo.toml; do \ PROJECT_DIR=$(dirname "$CARGO_PROJECT_FILE"); \ just "{{target}}" "$PROJECT_DIR" || exit $?; \ done