diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/pre-push-hook.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/pre-push-hook.sh b/scripts/pre-push-hook.sh new file mode 100644 index 00000000..78dafecb --- /dev/null +++ b/scripts/pre-push-hook.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e +set -u +set -o pipefail + +GRADLE_EXEC="${GRADLE_EXEC:-./gradlew}" + +"${GRADLE_EXEC}" spotlessCheck apiCheck |