File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ gommit check message " $( cat " $1 " ) "
Original file line number Diff line number Diff line change @@ -86,11 +86,16 @@ install-tools-mac: install-tools-go
86
86
install-hooks :
87
87
@ $(ECHO ) " "
88
88
@ $(ECHO ) " \033[1;33m=====> Installing Git hooks...\033[0m"
89
+ cp -vf .githooks/commit-msg.sh .git/hooks/commit-msg
90
+ chmod +x .git/hooks/*
89
91
pre-commit install
90
92
91
93
@ $(ECHO) " "
92
94
@ $(ECHO) "\033[1;33mLearn more about `pre-commit` at:\033[0m"
93
- @ $(ECHO) "\033[1;33m https://pre-commit.com/\033[0m"
95
+ @ $(ECHO) "\033[1;33m https://pre-commit.com\033[0m"
96
+ @ $(ECHO) " "
97
+ @ $(ECHO) "\033[1;33mLearn more about `gommit` at:\033[0m"
98
+ @ $(ECHO) "\033[1;33m https://github.com/antham/gommit\033[0m"
94
99
@ $(ECHO) " "
95
100
96
101
# -------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments