Skip to content

Commit

Permalink
makefile: Print test report colored
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonhpr committed May 7, 2020
1 parent e17557c commit 5a07538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ http-docs:

.PHONY: test
test:
$(GOTEST)
$(GOTEST) | sed ''/PASS/s//$$(printf "\033[32mPASS\033[0m")/'' | sed ''/FAIL/s//$$(printf "\033[31mFAIL\033[0m")/'' | grep -v RUN

.PHONY: lint
lint:
Expand Down

0 comments on commit 5a07538

Please sign in to comment.