mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
Got rid of node dependency
This commit is contained in:
parent
226384d872
commit
2ec6eaf35b
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
|
@ -52,7 +52,10 @@ all: init css js zip notify
|
|||
# Build and minify the CSS files
|
||||
css: init
|
||||
# Build the CSS file with the theme included
|
||||
@@node external/r.js/dist/r.js -o cssIn=css/themes/default/jquery.mobile.theme.css out=${OUTPUT}/${NAME}.compiled.css
|
||||
@@java -classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main \
|
||||
external/r.js/dist/r.js \
|
||||
-o cssIn=css/themes/default/jquery.mobile.theme.css \
|
||||
out=${OUTPUT}/${NAME}.compiled.css
|
||||
@@cat LICENSE-INFO.txt | ${VER} > ${OUTPUT}/${NAME}.css
|
||||
@@cat ${OUTPUT}/${NAME}.compiled.css >> ${OUTPUT}/${NAME}.css
|
||||
@@echo ${VER_MIN} > ${OUTPUT}/${NAME}.min.css
|
||||
|
|
@ -101,7 +104,9 @@ init:
|
|||
# Build and minify the JS files
|
||||
js: init
|
||||
# Build the JavaScript file
|
||||
@@node external/r.js/dist/r.js -o baseUrl="js" \
|
||||
@@java -classpath build/js.jar:build/google-compiler-20111003.jar org.mozilla.javascript.tools.shell.Main \
|
||||
external/r.js/dist/r.js \
|
||||
-o baseUrl="js" \
|
||||
include=jquery.mobile,jquery.mobile.exports exclude=jquery,order \
|
||||
out=${OUTPUT}/${NAME}.tmp.js \
|
||||
pragmasOnSave.jqmBuildExclude=true \
|
||||
|
|
|
|||
Loading…
Reference in a new issue