Switch to running check instead of build for pre-push hooks

Change-Id: I8f57f824aa80f4fce46a0a8f97051bac6318b5a0
pull/1837/head
Alex Vanyo 4 years ago committed by Don Turner
parent 8d18183bc0
commit ef9789fa93

@ -88,7 +88,7 @@ done
if [[ -n "$run_checks" ]]; then if [[ -n "$run_checks" ]]; then
# pre-push usually executes in the repository root, but just to be safe... # pre-push usually executes in the repository root, but just to be safe...
cd "$(git rev-parse --show-toplevel)" cd "$(git rev-parse --show-toplevel)"
./gradlew build ./gradlew check
exit $? exit $?
fi fi

Loading…
Cancel
Save