From ef9789fa936e97b43fe9c1cb50b542e77efe2cf1 Mon Sep 17 00:00:00 2001 From: Alex Vanyo Date: Wed, 30 Mar 2022 10:07:15 -0700 Subject: [PATCH] Switch to running check instead of build for pre-push hooks Change-Id: I8f57f824aa80f4fce46a0a8f97051bac6318b5a0 --- tools/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pre-push b/tools/pre-push index 61084cf8d..5d340b635 100644 --- a/tools/pre-push +++ b/tools/pre-push @@ -88,7 +88,7 @@ done if [[ -n "$run_checks" ]]; then # pre-push usually executes in the repository root, but just to be safe... cd "$(git rev-parse --show-toplevel)" - ./gradlew build + ./gradlew check exit $? fi