mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'make test': Colorize output.
Color is only added when "make test"'s stdout is a tty.
This commit is contained in:
parent
557bb7e0c6
commit
4d3da30f8b
2 changed files with 68 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -26,7 +26,7 @@ test:
|
|||
$(ZSH) -f tests/test-highlighting.zsh "$${test##*/}"; \
|
||||
: $$(( result |= $$? )); \
|
||||
fi \
|
||||
done; \
|
||||
done | $(ZSH) -f tests/tap-colorizer.zsh; \
|
||||
exit $$result
|
||||
|
||||
.PHONY: all install test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue