@@ -39,6 +39,7 @@ deploy: STRUCTURE = jquery.mobile.structure-${VER_OFFICIAL}
3939# The CSS theme being used
4040THEME = default
4141
42+ RUN_JS = @@java -XX:ReservedCodeCacheSize=64m -classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main
4243
4344
4445
@@ -52,8 +53,7 @@ all: init css js zip notify
5253# Build and minify the CSS files
5354css : init
5455 # Build the CSS file with the theme included
55- @@java -XX:ReservedCodeCacheSize=64m \
56- -classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main \
56+ ${RUN_JS} \
5757 external/r.js/dist/r.js \
5858 -o cssIn=css/themes/default/jquery.mobile.css \
5959 out=${OUTPUT} /${NAME} .compiled.css
@@ -81,8 +81,7 @@ css: init
8181docs : init
8282 # Create the Demos/Docs/Tests/Tools
8383 # ... Build the docs bundle
84- @@java -XX:ReservedCodeCacheSize=64m \
85- -classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main \
84+ ${RUN_JS} \
8685 external/r.js/dist/r.js \
8786 -o build/docs.build.js \
8887 dir=../tmp/${NAME}
@@ -113,8 +112,7 @@ init:
113112# Build and minify the JS files
114113js : init
115114 # Build the JavaScript file
116- @@java -XX:ReservedCodeCacheSize=64m \
117- -classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main \
115+ ${RUN_JS} \
118116 external/r.js/dist/r.js \
119117 -o baseUrl=" js" \
120118 include=jquery.mobile exclude=jquery,order \
0 commit comments