feat(make): define common githook

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
pull/397/head
Xinwei Xiong(cubxxw) 2 years ago
parent 9e23720b79
commit 138325bfce

@ -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

Loading…
Cancel
Save