Permalink
Browse files

Dont output errors to js file, increase cache size

  • Loading branch information...
1 parent 23f1937 commit a922b8fe0222f62a862e9e1cc3da88d85c9ee130 @eddiemonge eddiemonge committed Nov 26, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 Makefile
View
@@ -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
# -------------------------------------------------

0 comments on commit a922b8f

Please sign in to comment.