diff options
author | Ben Sima <ben@bsima.me> | 2024-04-07 16:14:10 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2024-04-09 22:13:59 -0400 |
commit | 14ca07741c500a0a25c7207175e269e5cd766acd (patch) | |
tree | 025a1178d981172383d990526a4b479768f44189 /.envrc | |
parent | c43acccbabc02464a6b02bd191199dd0ccd47b52 (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-- | .envrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |