summaryrefslogtreecommitdiff
path: root/Biz/Ide/hooks/pre-push
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-09-21 22:30:17 -0400
committerBen Sima <ben@bsima.me>2023-10-03 21:33:37 -0400
commit4226cbd8020253b010fb44d395db12efe68e1272 (patch)
tree4ee121a0cf26098b1cec1feed24c2cdd8e036562 /Biz/Ide/hooks/pre-push
parentdbdf4da2576f889544a33ce0bad4b8a5ff3eca87 (diff)
Rename BIZ_ROOT to CODEROOT
BIZ_ROOT was too specific. CODEROOT allows for other (non-biz) projects to live in the root of the repo. I didn't want to call it GIT_ROOT because maybe someday I won't want to use git. But I'll never not use code.
Diffstat (limited to 'Biz/Ide/hooks/pre-push')
-rwxr-xr-xBiz/Ide/hooks/pre-push4
1 files changed, 2 insertions, 2 deletions
diff --git a/Biz/Ide/hooks/pre-push b/Biz/Ide/hooks/pre-push
index baf7a13..0c313cb 100755
--- a/Biz/Ide/hooks/pre-push
+++ b/Biz/Ide/hooks/pre-push
@@ -30,7 +30,7 @@
fi
fi
##
- if lint "${BIZ_ROOT:?}"/**/*
+ if lint "${CODEROOT:?}"/**/*
then
lint_result="good"
else
@@ -38,7 +38,7 @@
exit 1
fi
##
- if bild --test "${BIZ_ROOT:?}"/**/*
+ if bild --test "${CODEROOT:?}"/**/*
then
test_result="good"
else