From e9d3283d182ca54038b46fe5c7319d7aa4e3608a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 28 Jul 2021 09:57:06 -1000 Subject: [PATCH] ;make: installcommithook --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 910d1531c..d25807aaf 100644 --- a/Makefile +++ b/Makefile @@ -1021,6 +1021,9 @@ make nix-view-commits: $(call def-help,nix-view-commits, show recent haskell com ############################################################################### $(call def-help-subheading,MISCELLANEOUS:) +installcommithook: $(call def-help,installcommithook, symlink bin/commitlint as .git/hooks/commit-msg) + ln -s ../../bin/commitlint .git/hooks/commit-msg + watch-%: $(call def-help,watch-RULE, run make RULE repeatedly when any committed file changes) @git ls-files | entr -r make $*