diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-07-17 13:54:51 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-07-17 13:57:22 +0530 |
commit | 831304a7bc5dd803ff0fce84663d04a40133484f (patch) | |
tree | 02ce6be6fe55ea6987e0af7e2b5899fbfbc8b703 | |
parent | af362dd6e3072100dfb8cce35edb7fe6b1fe9264 (diff) |
scripts/pre-push: add detekt
-rw-r--r-- | scripts/pre-push-hook.sh | 2 |
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 |