From a922b8fe0222f62a862e9e1cc3da88d85c9ee130 Mon Sep 17 00:00:00 2001 From: Eddie Monge Date: Sat, 26 Nov 2011 10:39:54 -0800 Subject: [PATCH 1/2] Dont output errors to js file, increase cache size --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 19c8cb42..bda4dee5 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,13 @@ js: init @@cat ${JSFILES} >> ${OUTPUT}/${NAME}.js # ..... and then minify it @@echo ${VER_MIN} > ${OUTPUT}/${NAME}.min.js - @@java -jar build/google-compiler-20111003.jar --js ${OUTPUT}/${NAME}.js --warning_level QUIET >> ${OUTPUT}/${NAME}.min.js + @@java -XX:ReservedCodeCacheSize=64m \ + -jar build/google-compiler-20111003.jar \ + --js ${OUTPUT}/${NAME}.js \ + --warning_level QUIET \ + --js_output_file ${OUTPUT}/${NAME}.tmp.js + @@cat ${OUTPUT}/${NAME}.tmp.js >> ${OUTPUT}/${NAME}.min.js + @@rm ${OUTPUT}/${NAME}.tmp.js # ------------------------------------------------- From 8dfa5f9ca9be863b91aed4ef1d3581ac6322e08f Mon Sep 17 00:00:00 2001 From: Eddie Monge Date: Sat, 26 Nov 2011 12:01:46 -0800 Subject: [PATCH 2/2] Log levels dont need to be quieted anymore --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index bda4dee5..2f1ef776 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,6 @@ js: init @@java -XX:ReservedCodeCacheSize=64m \ -jar build/google-compiler-20111003.jar \ --js ${OUTPUT}/${NAME}.js \ - --warning_level QUIET \ --js_output_file ${OUTPUT}/${NAME}.tmp.js @@cat ${OUTPUT}/${NAME}.tmp.js >> ${OUTPUT}/${NAME}.min.js @@rm ${OUTPUT}/${NAME}.tmp.js