summaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-04-07 16:14:10 -0400
committerBen Sima <ben@bsima.me>2024-04-09 22:13:59 -0400
commit14ca07741c500a0a25c7207175e269e5cd766acd (patch)
tree025a1178d981172383d990526a4b479768f44189 /.envrc
parentc43acccbabc02464a6b02bd191199dd0ccd47b52 (diff)
Replace tidy.sh with git clean, add it to ci
I realized that tidy was doing the same thing as git clean, but git clean can do it more robust and exactly. So switch to that and add it to the git test config aliases so I don't accidentally test with old artifacts.
Diffstat (limited to '.envrc')
-rw-r--r--.envrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/.envrc b/.envrc
index 05b10d0..8bdfa95 100644
--- a/.envrc
+++ b/.envrc
@@ -38,11 +38,11 @@
# 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 **/*'
- git config --local branchless.test.alias.ci 'CODEROOT=$PWD Biz/Ci.sh'
+ git config --local branchless.test.alias.default 'git clean -ffdx && CODEROOT=$PWD bild --test **/*'
+ git config --local branchless.test.alias.bild 'git clean -ffdx && CODEROOT=$PWD bild **/*'
+ git config --local branchless.test.alias.lint 'git clean -ffdx && CODEROOT=$PWD bild Biz/Lint.hs && _/bin/lint **/*'
+ git config --local branchless.test.alias.lintfix 'git clean -ffdx && CODEROOT=$PWD bild Biz/Lint.hs && _/bin/lint --fix **/*'
+ git config --local branchless.test.alias.ci 'git clean -ffdx && CODEROOT=$PWD Biz/Ci.sh'
#
# load local settings
. ./.envrc.local