Skip to content

Commit

Permalink
add color head and text mark
Browse files Browse the repository at this point in the history
  • Loading branch information
martianzhang committed Jan 11, 2019
1 parent 6756e1e commit 6263e41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 6263e41

Please sign in to comment.