diff --git a/Makefile b/Makefile index 4f0e2934f6..bdc7b12284 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PYTHON=python SITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") PACKER ?= packer -GRUNT ?= grunt +GRUNT ?= $(shell [[ -t 0 || -p /dev/stdin ]] && echo "grunt" || echo "grunt --no-color") # Get the branch information from git GIT_DATE := $(shell git log -n 1 --format="%ai")