mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
add target for clean and test and have a cargo target dir
This commit is contained in:
parent
67fbca07e4
commit
b1b860edaf
10
justfile
10
justfile
|
@ -1,5 +1,13 @@
|
|||
export CARGO_TARGET_DIR := env_var_or_default('CARGO_TARGET_DIR', justfile_directory() + "/target")
|
||||
|
||||
build: build-roms
|
||||
|
||||
test:
|
||||
just _all-crates _test-debug
|
||||
|
||||
clean:
|
||||
just _all-crates _clean
|
||||
|
||||
ci: && build-roms
|
||||
just _all-crates _build
|
||||
just _all-crates _test-debug
|
||||
|
@ -55,3 +63,5 @@ _test-debug crate:
|
|||
if echo "{{crate}}" | grep -qE '^agb'; then (cd "{{crate}}" && cargo test); fi
|
||||
_clippy crate:
|
||||
if echo "{{crate}}" | grep -qE '^agb'; then (cd "{{crate}}" && cargo clippy); fi
|
||||
_clean crate:
|
||||
(cd "{{crate}}" && cargo clean)
|
||||
|
|
Loading…
Reference in a new issue