aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-07-17 13:54:51 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-07-17 13:57:22 +0530
commit831304a7bc5dd803ff0fce84663d04a40133484f (patch)
tree02ce6be6fe55ea6987e0af7e2b5899fbfbc8b703 /scripts
parentaf362dd6e3072100dfb8cce35edb7fe6b1fe9264 (diff)
scripts/pre-push: add detekt
Diffstat (limited to 'scripts')
-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