Make ci script run on Mac OS X
This commit is contained in:
parent
543cc65e56
commit
1b24b3bd68
2
ci.sh
2
ci.sh
@ -5,7 +5,7 @@ set -euo pipefail
|
|||||||
export CARGO_TARGET_DIR=$PWD/target_ci
|
export CARGO_TARGET_DIR=$PWD/target_ci
|
||||||
export RUSTFLAGS=-Dwarnings
|
export RUSTFLAGS=-Dwarnings
|
||||||
|
|
||||||
find -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018
|
find . -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018
|
||||||
|
|
||||||
# Generate stm32-metapac
|
# Generate stm32-metapac
|
||||||
# for some reason Cargo stomps the cache if we don't specify --target.
|
# for some reason Cargo stomps the cache if we don't specify --target.
|
||||||
|
Loading…
Reference in New Issue
Block a user