|
@ -8,9 +8,12 @@ install: |
|
|
cp -r zsh-syntax-highlighting.zsh highlighters $(SHARE_DIR) |
|
|
cp -r zsh-syntax-highlighting.zsh highlighters $(SHARE_DIR) |
|
|
|
|
|
|
|
|
test: |
|
|
test: |
|
|
|
|
|
@result=0 |
|
|
@for test in highlighters/*; do \
|
|
|
@for test in highlighters/*; do \
|
|
|
if [ -d $$test/test-data ]; then \
|
|
|
if [ -d $$test/test-data ]; then \
|
|
|
echo "Running test $${test##*/}"; \
|
|
|
echo "Running test $${test##*/}"; \
|
|
|
zsh tests/test-highlighting.zsh "$${test##*/}"; \
|
|
|
zsh tests/test-highlighting.zsh "$${test##*/}"; \
|
|
|
|
|
|
: $$(( result |= $$? )); \
|
|
|
fi \
|
|
|
fi \
|
|
|
done |
|
|
done |
|
|
|
|
|
@exit $$result |