提交 6263e41b 编写于 作者: martianzhang's avatar martianzhang

add color head and text mark

上级 6756e1e8
......@@ -20,10 +20,10 @@ COMMIT_VERSION=`git rev-parse HEAD`
# colors compatible setting
COLOR_ENABLE=$(shell tput colors > /dev/null; echo $$?)
ifeq "$(COLOR_ENABLE)" "0"
CRED=$(shell echo "\033[91m")
CGREEN=$(shell echo "\033[92m")
CYELLOW=$(shell echo "\033[93m")
CEND=$(shell echo "\033[0m")
CRED=$(shell printf "\001\033[91m\002")
CGREEN=$(shell printf "\001\033[92m\002")
CYELLOW=$(shell printf "\001\033[93m\002")
CEND=$(shell printf "\001\033[0m\002")
endif
# Add mysql version for testing `MYSQL_RELEASE=percona MYSQL_VERSION=5.7 make docker`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册