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

Change-Id: I8f57f824aa80f4fce46a0a8f97051bac6318b5a0
pull/2/head
Alex Vanyo 3 years ago committed by Don Turner
parent a2aa29ef9d
commit 6f345b86bf

@ -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