blob: b6bc60a95be5d619ffc4ed14a221dd60b5940654 (
plain)
1
2
3
4
5
6
7
|
#!/bin/zsh
#
exec find . -name "*rs" -exec rustfmt {} \;
exec cargo +nightly clippy
# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached $against --
|