Commit fe4cfd37 authored by Taddeus Kroes's avatar Taddeus Kroes

Added JS minification to Makefile

parent 100c2156
...@@ -31,6 +31,11 @@ min: all ...@@ -31,6 +31,11 @@ min: all
printf '%-20s : ' $$f 1>&2; \ printf '%-20s : ' $$f 1>&2; \
mincss -v -o $$f $$f; \ mincss -v -o $$f $$f; \
done done
@for f in $(SCRIPTS); do \
echo $$f; \
closure-compiler --js $$f --js_output_file .tmp.js; \
mv .tmp.js $$f; \
done
$(CACHE_DIR): $(CACHE_DIR):
mkdir $@ mkdir $@
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment