Skip to content

Commit 84bdb68

Browse files
author
Mauko Quiroga
committed
Use tput instead of color codes
1 parent 01dc25a commit 84bdb68

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
OK := "\033[1;32m ✓ \033[0m"
2-
PASS := "\033[0;33m ✓ \033[0m"
3-
WORKING := "\033[0;32m[⚙] \033[0m"
4-
OPTIONS := "\033[0;36m[ℹ] \033[0m"
1+
OK := "$$(tput setaf 2)$$(tput sgr0)"
2+
PASS := "$$(tput setaf 3)$$(tput sgr0)"
3+
WORKING := "$$(tput setaf 5)[⚙] $$(tput sgr0)"
4+
OPTIONS := "$$(tput setaf 6)[ℹ] $$(tput sgr0)"
55
COUNTRY_TEMPLATE := openfisca_country_template
66
EXTENSION_TEMPLATE := openfisca_extension_template
77
PYTHON_PACKAGES_PATH := $(shell python -c "import sysconfig; print(sysconfig.get_paths()[\"purelib\"])")

0 commit comments

Comments
 (0)