abstreet/fmt.sh
2018-08-04 13:25:09 -07:00

8 lines
182 B
Bash
Executable File

#!/bin/bash
for x in `find */src */tests | grep '.rs$' | xargs`; do
~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustfmt $x;
done
rm */src/*.bk -f;
rm */src/*/*.bk -f;