summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-08-14 00:18:51 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-08-14 00:18:51 +0530
commitb699b4db71d08b574cc31daf4ee8c9b849ebaa11 (patch)
tree50dd1fddb1c2c270a28d5819af2bbe570fcbb289 /scripts
parent3af68b45c4cfd815b9975108fa09cb3872fbab8b (diff)
feat(build): replace homebrew ktfmt formatter with Spotless
Spotless has fixed their Gradle Configuration Cache woes in the past couple months which gets rid of my primary complaint.
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 65ea0682..e228815c 100644
--- a/scripts/pre-push-hook.sh
+++ b/scripts/pre-push-hook.sh
@@ -13,6 +13,6 @@ while read -r local_ref local_oid remote_ref remote_oid; do
_=$remote_ref
_=$remote_oid
if [ "${local_oid}" != "${ZERO}" ]; then
- CI=true "${GRADLE_EXEC}" metalavaCheckCompatibilityRelease lint ktfmtCheck test -PslimTests
+ CI=true "${GRADLE_EXEC}" metalavaCheckCompatibilityRelease lint spotlessCheck test -PslimTests
fi
done