Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 70 lines (60 sloc) 2.302 kb
ac62052 @jeresig Add a way to build copies of jQuery Mobile.
jeresig authored
1
2 VER = $(shell cat version.txt)
3
4 MAX = jquery.mobile-${VER}.js
5 MIN = jquery.mobile-${VER}.min.js
6289d02 @jeresig Add the ability to compress the CSS files. Now include both the Google C...
jeresig authored
6 CSS = jquery.mobile-${VER}.css
7 CSSMIN = jquery.mobile-${VER}.min.css
ac62052 @jeresig Add a way to build copies of jQuery Mobile.
jeresig authored
8
9 FILES = js/jquery.ui.widget.js \
10 js/jquery.mobile.widget.js \
11 js/jquery.mobile.support.js \
12 js/jquery.mobile.event.js \
13 js/jquery.mobile.hashchange.js \
14 js/jquery.mobile.page.js \
15 js/jquery.mobile.clickable.js \
16 js/jquery.mobile.fixHeaderFooter.js \
17 js/jquery.mobile.forms.checkboxradio.js \
18 js/jquery.mobile.forms.textinput.js \
19 js/jquery.mobile.forms.select.js \
20 js/jquery.mobile.forms.ajaxform.js \
21 js/jquery.mobile.buttonMarkup.js \
22 js/jquery.mobile.forms.button.js \
23 js/jquery.mobile.forms.slider.js \
24 js/jquery.mobile.collapsible.js \
25 js/jquery.mobile.controlGroup.js \
26 js/jquery.mobile.fieldContain.js \
27 js/jquery.mobile.listview.js \
28 js/jquery.mobile.listview.filter.js \
29 js/jquery.mobile.dialog.js \
30 js/jquery.mobile.navbar.js \
31 js/jquery.mobile.grid.js \
32 js/jquery.mobile.js
33
6289d02 @jeresig Add the ability to compress the CSS files. Now include both the Google C...
jeresig authored
34 CSSFILES = themes/default/jquery.mobile.theme.css \
35 themes/default/jquery.mobile.core.css \
36 themes/default/jquery.mobile.transitions.css \
37 themes/default/jquery.mobile.grids.css \
38 themes/default/jquery.mobile.headerfooter.css \
39 themes/default/jquery.mobile.navbar.css \
40 themes/default/jquery.mobile.button.css \
41 themes/default/jquery.mobile.collapsible.css \
42 themes/default/jquery.mobile.controlgroup.css \
43 themes/default/jquery.mobile.dialog.css \
44 themes/default/jquery.mobile.forms.checkboxradio.css \
45 themes/default/jquery.mobile.forms.fieldcontain.css \
46 themes/default/jquery.mobile.forms.select.css \
47 themes/default/jquery.mobile.forms.textinput.css \
48 themes/default/jquery.mobile.listview.css \
49 themes/default/jquery.mobile.forms.slider.css
50
51 all: mobile min css cssmin
52
53 css:
54 @@head -8 js/jquery.mobile.js > ${CSS}
55 @@cat ${CSSFILES} >> ${CSS}
56
57 cssmin:
58 @@head -8 js/jquery.mobile.js > ${CSSMIN}
59 @@java -jar build/yuicompressor-2.4.2.jar --type css ${CSS} >> ${CSSMIN}
ac62052 @jeresig Add a way to build copies of jQuery Mobile.
jeresig authored
60
61 mobile:
62 @@head -8 js/jquery.mobile.js > ${MAX}
63 @@cat ${FILES} >> ${MAX}
64
65 min: mobile
66 @@head -8 js/jquery.mobile.js > ${MIN}
67 @@java -jar ../jquery/build/google-compiler-20100917.jar --js ${MAX} --warning_level QUIET --js_output_file ${MIN}.tmp
68 @@cat ${MIN}.tmp >> ${MIN}
69 @@rm -f ${MIN}.tmp
Something went wrong with that request. Please try again.