run cargo fmt -- --check on beta

This commit is contained in:
Jorge Aparicio
2018-07-13 22:10:08 -05:00
parent 6e6642b48c
commit 131cc1ac44
3 changed files with 12 additions and 4 deletions

View File

@@ -1,6 +1,11 @@
set -euxo pipefail
main() {
if [ $TARGET = cargo-fmt ]; then
cargo fmt -- --check
return
fi
# quick check
cargo check