summaryrefslogtreecommitdiff
path: root/scripts/pre-push-hook.sh
blob: 78dafecb21a1851d964d5722e2b3de772bfe8b6d (about) (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

set -e
set -u
set -o pipefail

GRADLE_EXEC="${GRADLE_EXEC:-./gradlew}"

"${GRADLE_EXEC}" spotlessCheck apiCheck