From: Wolfram Schneider Date: Wed, 21 Aug 2013 16:14:29 +0000 (+0200) Subject: new target jsbeautifier X-Git-Tag: 0.9.1~202^2~83 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=e1cd26870b750dd7d3047878470dedddb3c62e97;p=mkws-moved-to-github.git new target jsbeautifier --- diff --git a/test/Makefile b/test/Makefile index 88ebd68..f769737 100644 --- a/test/Makefile +++ b/test/Makefile @@ -6,7 +6,13 @@ clean distclean: check: jasmine-node ./spec + test: check +jsbeautifier: + for i in ./spec/*.js ./js/*.js; do \ + jsbeautifier -j $$i > $@.tmp && mv -f $@.tmp $$i; \ + done + help: - @echo "make [ all | clean | check ]" + @echo "make [ all | clean | check | jsbeautifier ]"