From 6263e41bcde4e5672f00285acae6b2d93224b154 Mon Sep 17 00:00:00 2001 From: martianzhang Date: Fri, 11 Jan 2019 23:26:21 +0800 Subject: [PATCH] add color head and text mark --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ac06587..b1e285d 100644 --- a/Makefile +++ b/Makefile @@ -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` -- GitLab