fix(scripts): set CI=true in pre-push hook

This enables -Werror
This commit is contained in:
Harsh Shandilya 2024-03-17 11:48:18 +05:30
parent 1bc22c63c8
commit b01fddaa56

View file

@ -13,6 +13,6 @@ while read -r local_ref local_oid remote_ref remote_oid; do
_=$remote_ref _=$remote_ref
_=$remote_oid _=$remote_oid
if [ "${local_oid}" != "${ZERO}" ]; then if [ "${local_oid}" != "${ZERO}" ]; then
"${GRADLE_EXEC}" metalavaCheckCompatibilityRelease lint ktfmtCheck test -PslimTests CI=true "${GRADLE_EXEC}" metalavaCheckCompatibilityRelease lint ktfmtCheck test -PslimTests
fi fi
done done