From 14ca07741c500a0a25c7207175e269e5cd766acd Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 7 Apr 2024 16:14:10 -0400 Subject: 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. --- .envrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.envrc') 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 -- cgit v1.2.3