feat(make): define common githook
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
committed by
Xinwei Xiong(cubxxw-openim)
parent
6ca3de6063
commit
1a034cfc66
@@ -119,6 +119,9 @@ ifndef V
|
|||||||
MAKEFLAGS += --no-print-directory
|
MAKEFLAGS += --no-print-directory
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Copy githook scripts when execute makefile
|
||||||
|
COPY_GITHOOK:=$(shell cp -f githooks/* .git/hooks/)
|
||||||
|
|
||||||
# COMMA: Concatenate multiple strings to form a list of strings
|
# COMMA: Concatenate multiple strings to form a list of strings
|
||||||
COMMA := ,
|
COMMA := ,
|
||||||
# SPACE: Used to separate strings
|
# SPACE: Used to separate strings
|
||||||
|
|||||||
Reference in New Issue
Block a user