Skip to content

Commit

Permalink
Make: change from tput to escape chars for format
Browse files Browse the repository at this point in the history
Tput only works with interactive shells, so to allow the test to be run in the
ci-system, this was changed to use escape chars.
  • Loading branch information
teoti001 committed Jul 21, 2021
1 parent 15a8c41 commit f20cf08
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ CLIENT_CERT := $(VENV)/client.crt
CARAMEL_TOOL := $(VENV)/bin/caramel_tool

# Terminal formatting
BOLD := tput bold
PASS := $(BOLD); tput setaf 2
FAIL := $(BOLD); tput setaf 1
LINE := echo "---------------------------------------"
RESET_TERM := tput op; tput sgr0
BOLD := printf "\033[1m"
PASS := $(BOLD); printf "\033[32m"
FAIL := $(BOLD); printf "\033[31m"
LINE := $(BOLD); echo "---------------------------------------"
RESET_TERM := printf "\033[0m"
BLR := $(BOLD); $(LINE); $(RESET_TERM) #Bold Line, Reset formatting

#Check for python3 install and virtual environment
Expand Down

0 comments on commit f20cf08

Please sign in to comment.