Skip to content

Commit a922b8f

Browse files
committed
Dont output errors to js file, increase cache size
1 parent 23f1937 commit a922b8f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,13 @@ js: init
141141
@@cat ${JSFILES} >> ${OUTPUT}/${NAME}.js
142142
# ..... and then minify it
143143
@@echo ${VER_MIN} > ${OUTPUT}/${NAME}.min.js
144-
@@java -jar build/google-compiler-20111003.jar --js ${OUTPUT}/${NAME}.js --warning_level QUIET >> ${OUTPUT}/${NAME}.min.js
144+
@@java -XX:ReservedCodeCacheSize=64m \
145+
-jar build/google-compiler-20111003.jar \
146+
--js ${OUTPUT}/${NAME}.js \
147+
--warning_level QUIET \
148+
--js_output_file ${OUTPUT}/${NAME}.tmp.js
149+
@@cat ${OUTPUT}/${NAME}.tmp.js >> ${OUTPUT}/${NAME}.min.js
150+
@@rm ${OUTPUT}/${NAME}.tmp.js
145151
# -------------------------------------------------
146152

147153

0 commit comments

Comments
 (0)