Use --all in some scripts. (#154)
This avoids the need to list all the packages in test-all.sh.
This commit is contained in:
@@ -6,12 +6,8 @@
|
||||
set -e
|
||||
|
||||
cd $(dirname "$0")
|
||||
src=$(pwd)
|
||||
|
||||
# Make sure we can find rustfmt.
|
||||
export PATH="$PATH:$HOME/.cargo/bin"
|
||||
|
||||
for crate in $(find "$src" -name Cargo.toml); do
|
||||
cd $(dirname "$crate")
|
||||
cargo fmt -- "$@"
|
||||
done
|
||||
exec cargo fmt --all -- "$@"
|
||||
|
||||
Reference in New Issue
Block a user