diff options
author | Ben Sima <ben@bsima.me> | 2020-12-28 22:23:52 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-12-28 22:33:10 -0500 |
commit | ba9e18d213f7aaf47fa57ccc4d139bc5cfe03d31 (patch) | |
tree | 2f90df7b3be6cd7703d7af33856a5b71fb369b3d /Biz/Bild | |
parent | 9824011e9dfeb46914c60f07ee3634fa9e54ec03 (diff) |
ide: incremental tags and git hooks
Diffstat (limited to 'Biz/Bild')
-rw-r--r-- | Biz/Bild/ShellHook.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Biz/Bild/ShellHook.sh b/Biz/Bild/ShellHook.sh index 7724c28..9e629f3 100644 --- a/Biz/Bild/ShellHook.sh +++ b/Biz/Bild/ShellHook.sh @@ -18,6 +18,12 @@ alias runghc="runghc --ghc-arg=-i$BIZ_ROOT" alias tree="tree -I _" +# link git hooks +rm -f $BIZ_ROOT/.git/hooks/{post-checkout,post-merge,pre-commit} +ln -s $BIZ_ROOT/Biz/Ide/post-checkout $BIZ_ROOT/.git/hooks/post-checkout +ln -s $BIZ_ROOT/Biz/Ide/post-merge $BIZ_ROOT/.git/hooks/post-merge +ln -s $BIZ_ROOT/Biz/Lint.py $BIZ_ROOT/.git/hooks/pre-commit + function bild() { runghc Biz.Bild $@ } |