diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2024-03-17 11:48:18 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2024-03-17 11:48:18 +0530 |
commit | b01fddaa56d29ed99c627c490ee0a8fd77839dc8 (patch) | |
tree | eedf425cfe4a8f3b5f9c5e16e8cc999b83f4b711 | |
parent | 1bc22c63c8bc67fa911dba53874fa2ffacf182d4 (diff) |
fix(scripts): set CI=true in pre-push hook
This enables -Werror
-rw-r--r-- | scripts/pre-push-hook.sh | 2 |
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 |