add quotes to the target paths to allow for spaces

This commit is contained in:
Corwin 2022-08-01 20:31:23 +01:00
parent 8a9ce6fd8b
commit 8421ca2893

View file

@ -95,12 +95,12 @@ _test-release crate:
just _build-release {{crate}} just _build-release {{crate}}
(cd "{{crate}}" && cargo test --release) (cd "{{crate}}" && cargo test --release)
_test-release-arm crate: _test-release-arm crate:
(cd "{{crate}}" && cargo test --release --target={{justfile_directory()+"/armv4t-none-eabi.json"}}) (cd "{{crate}}" && cargo test --release --target="{{justfile_directory()+"/armv4t-none-eabi.json"}}")
_test-debug crate: _test-debug crate:
just _build-debug {{crate}} just _build-debug {{crate}}
(cd "{{crate}}" && cargo test) (cd "{{crate}}" && cargo test)
_test-debug-arm crate: _test-debug-arm crate:
(cd "{{crate}}" && cargo test --release --target={{justfile_directory()+"/armv4t-none-eabi.json"}}) (cd "{{crate}}" && cargo test --release --target="{{justfile_directory()+"/armv4t-none-eabi.json"}}")
_clippy crate: _clippy crate:
(cd "{{crate}}" && cargo clippy --examples --tests -- {{CLIPPY_ARGUMENTS}}) (cd "{{crate}}" && cargo clippy --examples --tests -- {{CLIPPY_ARGUMENTS}})
_clean crate: _clean crate: