clean up justfile
Some checks failed
ci / Check build (push) Has been cancelled
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled
ci / Check build (pull_request) Has been cancelled
ci / Check formatting (pull_request) Has been cancelled
ci / Check Documentation Build (pull_request) Has been cancelled
ci / Clippy (pull_request) Has been cancelled

This commit is contained in:
Robin Mueller
2025-10-07 16:26:49 +02:00
parent 29fef1b37c
commit 7d5aadbbf7

View File

@@ -1,25 +1,26 @@
check: check-zynq check-tools check-boot-image
all: check-all build-all clean-all fmt-all clippy-all
[working-directory: 'zynq']
check-zynq:
cargo check
[working-directory: 'tools']
check-tools:
cargo check
[working-directory: 'zynq7000-boot-image']
check-boot-image:
cargo check
check-all: (check "zynq") (check "tools") (check "zynq7000-boot-image")
clean-all: (clean "zynq") (clean "tools") (clean "zynq7000-boot-image")
build-all: (build "zynq") (build "tools") (build "zynq7000-boot-image")
fmt-all: (fmt "zynq") (fmt "tools") (fmt "zynq7000-boot-image")
clippy-all: (clippy "zynq") (clippy "tools") (clippy "zynq7000-boot-image")
check target:
cd {{target}} && cargo check
build target:
cd {{target}} && cargo build
clean target:
cd {{target}} && cargo clean
fmt target:
cd {{target}} && cargo fmt --all -- --check
clippy target:
cd {{target}} && cargo clippy -- -D warnings
[working-directory: 'zynq']
build-zynq:
cargo check
[working-directory: 'tools']
build-tools:
cargo check
[working-directory: 'zynq7000-boot-image']
build-boot-image:
cargo check
[working-directory: 'zynq-boot-image/staging']
bootgen:
bootgen -arch zynq -image boot.bif -o boot.bin -w on