From 831304a7bc5dd803ff0fce84663d04a40133484f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 17 Jul 2022 13:54:51 +0530 Subject: scripts/pre-push: add detekt --- scripts/pre-push-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/pre-push-hook.sh') 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 -- cgit v1.2.3