From b01fddaa56d29ed99c627c490ee0a8fd77839dc8 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 17 Mar 2024 11:48:18 +0530 Subject: fix(scripts): set CI=true in pre-push hook This enables -Werror --- scripts/pre-push-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3