Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Variableized the JavaScript runner
Browse files Browse the repository at this point in the history
  • Loading branch information
gseguin committed Jan 21, 2012
1 parent 229d50e commit 635916a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile
Expand Up @@ -39,6 +39,7 @@ deploy: STRUCTURE = jquery.mobile.structure-${VER_OFFICIAL}
# The CSS theme being used
THEME = default

RUN_JS = @@java -XX:ReservedCodeCacheSize=64m -classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main



Expand All @@ -52,8 +53,7 @@ all: init css js zip notify
# Build and minify the CSS files
css: init
# Build the CSS file with the theme included
@@java -XX:ReservedCodeCacheSize=64m \
-classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main \
${RUN_JS} \
external/r.js/dist/r.js \
-o cssIn=css/themes/default/jquery.mobile.css \
out=${OUTPUT}/${NAME}.compiled.css
Expand Down Expand Up @@ -81,8 +81,7 @@ css: init
docs: init
# Create the Demos/Docs/Tests/Tools
# ... Build the docs bundle
@@java -XX:ReservedCodeCacheSize=64m \
-classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main \
${RUN_JS} \
external/r.js/dist/r.js \
-o build/docs.build.js \
dir=../tmp/${NAME}
Expand Down Expand Up @@ -113,8 +112,7 @@ init:
# Build and minify the JS files
js: init
# Build the JavaScript file
@@java -XX:ReservedCodeCacheSize=64m \
-classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main \
${RUN_JS} \
external/r.js/dist/r.js \
-o baseUrl="js" \
include=jquery.mobile exclude=jquery,order \
Expand Down

0 comments on commit 635916a

Please sign in to comment.