new target jsbeautifier
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 21 Aug 2013 16:14:29 +0000 (18:14 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 21 Aug 2013 16:14:29 +0000 (18:14 +0200)
test/Makefile

index 88ebd68..f769737 100644 (file)
@@ -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 ]"