summaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index bbcbf3c..c816943 100644
--- a/.envrc
+++ b/.envrc
@@ -35,8 +35,13 @@
eval "$(lorri direnv)"
fi
#
-# configure git hooks
+# configure git
git config --local core.hooksPath "$CODEROOT/Biz/Ide/hooks"
+ git config --local branchless.test.strategy worktree
+ git config --local branchless.test.alias.default 'CODEROOT=$PWD bild --test **/*'
+ git config --local branchless.test.alias.bild 'CODEROOT=$PWD bild **/*'
+ git config --local branchless.test.alias.lint 'CODEROOT=$PWD bild Biz/Lint.hs && _/bin/lint **/*'
+ git config --local branchless.test.alias.lintfix 'CODEROOT=$PWD bild Biz/Lint.hs && _/bin/lint --fix **/*'
#
# load local settings
. ./.envrc.local