mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-06 14:32:39 +02:00
scripts/pre-push: add detekt
This commit is contained in:
parent
af362dd6e3
commit
831304a7bc
|
@ -9,6 +9,6 @@ GRADLE_EXEC="${GRADLE_EXEC:-./gradlew}"
|
||||||
|
|
||||||
while read local_ref local_oid remote_ref remote_oid; do
|
while read local_ref local_oid remote_ref remote_oid; do
|
||||||
if [ "${local_oid}" != "${ZERO}" ]; then
|
if [ "${local_oid}" != "${ZERO}" ]; then
|
||||||
"${GRADLE_EXEC}" spotlessCheck apiCheck test -PslimTests
|
"${GRADLE_EXEC}" apiCheck detekt spotlessCheck test -PslimTests
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue