feat(githook): make sure to trigger githook when you make

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw)
2023-05-13 16:37:14 +08:00
committed by Xinwei Xiong(cubxxw-openim)
parent 0ef4fbfa5a
commit e21982534e
3 changed files with 46 additions and 1 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ MAKEFLAGS += --no-print-directory
endif
# Copy githook scripts when execute makefile
COPY_GITHOOK:=$(shell cp -f script/githooks/* .git/hooks/)
COPY_GITHOOK:=$(shell cp -f script/githooks/* .git/hooks/; chmod +x .git/hooks/commit-msg')
# COMMA: Concatenate multiple strings to form a list of strings
COMMA := ,