summaryrefslogtreecommitdiff
path: root/scripts/pre-push-hook.sh
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-03-17 11:48:18 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-03-17 11:48:18 +0530
commitb01fddaa56d29ed99c627c490ee0a8fd77839dc8 (patch)
treeeedf425cfe4a8f3b5f9c5e16e8cc999b83f4b711 /scripts/pre-push-hook.sh
parent1bc22c63c8bc67fa911dba53874fa2ffacf182d4 (diff)
fix(scripts): set CI=true in pre-push hook
This enables -Werror
Diffstat (limited to 'scripts/pre-push-hook.sh')
-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 dea8cedb..65ea0682 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
- "${GRADLE_EXEC}" metalavaCheckCompatibilityRelease lint ktfmtCheck test -PslimTests
+ CI=true "${GRADLE_EXEC}" metalavaCheckCompatibilityRelease lint ktfmtCheck test -PslimTests
fi
done