Browse Source

Make sure we can find rustfmt.

pull/3/head
Jakob Stoklund Olesen 8 years ago
parent
commit
0d3990c394
  1. 3
      format-all.sh

3
format-all.sh

@ -8,6 +8,9 @@ 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 -- "$@"

Loading…
Cancel
Save