mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
;make: installcommithook
This commit is contained in:
parent
13fbd83626
commit
e9d3283d18
3
Makefile
3
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 $*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user