Add validate task to tools/work/Makefile

This commit is contained in:
Sergei Eremenko 2018-09-09 12:31:47 +03:00
parent 4c00140e94
commit c960c1b86e

View file

@ -31,7 +31,13 @@ test:
-@find $(THEMES) -not -iregex '.*/[-_\.+@a-z0-9]*' -print
# --- TEST COMPLETED ---
.PHONY: all clean convert prepare put test
validate:
# >>> Validate SVG files (the process takes a long time)
-@find $(THEMES) -type f -name '*.svg' \
-exec xmlstarlet validate --list-bad '{}' \;
# --- VALIDATE COMPLETED ---
.PHONY: all clean convert prepare put test validate
# allows to run goals from the main Makefile
.PHONY: install uninstall dist release undo_release