summaryrefslogtreecommitdiff
path: root/scripts/pre-push-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pre-push-hook.sh')
-rw-r--r--scripts/pre-push-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pre-push-hook.sh b/scripts/pre-push-hook.sh
index 651bc85b..c19d5aa6 100644
--- a/scripts/pre-push-hook.sh
+++ b/scripts/pre-push-hook.sh
@@ -9,6 +9,6 @@ GRADLE_EXEC="${GRADLE_EXEC:-./gradlew}"
while read local_ref local_oid remote_ref remote_oid; do
if [ "${local_oid}" != "${ZERO}" ]; then
- "${GRADLE_EXEC}" spotlessCheck apiCheck test -PslimTests
+ "${GRADLE_EXEC}" apiCheck detekt spotlessCheck test -PslimTests
fi
done