scripts/pre-push: add detekt

This commit is contained in:
Harsh Shandilya 2022-07-17 13:54:51 +05:30
parent af362dd6e3
commit 831304a7bc
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -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