|
1 |
| -# The files to include when compiling the CSS files |
2 |
| -CSSFILES = css/structure/jquery.mobile.core.css \ |
3 |
| - css/structure/jquery.mobile.transitions.css \ |
4 |
| - css/structure/jquery.mobile.grids.css \ |
5 |
| - css/structure/jquery.mobile.fixedToolbar.css \ |
6 |
| - css/structure/jquery.mobile.navbar.css \ |
7 |
| - css/structure/jquery.mobile.button.css \ |
8 |
| - css/structure/jquery.mobile.collapsible.css \ |
9 |
| - css/structure/jquery.mobile.controlgroup.css \ |
10 |
| - css/structure/jquery.mobile.dialog.css \ |
11 |
| - css/structure/jquery.mobile.forms.checkboxradio.css \ |
12 |
| - css/structure/jquery.mobile.forms.fieldcontain.css \ |
13 |
| - css/structure/jquery.mobile.forms.select.css \ |
14 |
| - css/structure/jquery.mobile.forms.textinput.css \ |
15 |
| - css/structure/jquery.mobile.listview.css \ |
16 |
| - css/structure/jquery.mobile.forms.slider.css |
17 |
| -CSSTHEMEFILES = css/themes/${THEME}/jquery.mobile.theme.css |
18 |
| - |
19 |
| - |
20 |
| - |
21 |
| - |
22 | 1 | # Helper Variables
|
23 | 2 | # The command to replace the @VERSION in the files with the actual version
|
24 | 3 | VER = sed "s/v@VERSION/$$(git log -1 --format=format:"Git Build: SHA1: %H <> Date: %cd")/"
|
@@ -65,13 +44,18 @@ css: init
|
65 | 44 | --type css ${OUTPUT}/${NAME}.compiled.css >> ${OUTPUT}/${NAME}.min.css
|
66 | 45 | @@rm ${OUTPUT}/${NAME}.compiled.css
|
67 | 46 | # Build the CSS Structure-only file
|
| 47 | + ${RUN_JS} \ |
| 48 | + external/r.js/dist/r.js \ |
| 49 | + -o cssIn=css/structure/${STRUCTURE}.css \ |
| 50 | + out=${OUTPUT}/${STRUCTURE}.compiled.css |
68 | 51 | @@cat LICENSE-INFO.txt | ${VER} > ${OUTPUT}/${STRUCTURE}.css
|
69 |
| - @@cat ${CSSFILES} >> ${OUTPUT}/${STRUCTURE}.css |
| 52 | + @@cat ${OUTPUT}/${STRUCTURE}.compiled.css >> ${OUTPUT}/${STRUCTURE}.css |
70 | 53 | # ..... and then minify it
|
71 | 54 | @@echo ${VER_MIN} > ${OUTPUT}/${STRUCTURE}.min.css
|
72 | 55 | @@java -XX:ReservedCodeCacheSize=64m \
|
73 | 56 | -jar build/yuicompressor-2.4.6.jar \
|
74 |
| - --type css ${OUTPUT}/${STRUCTURE}.css >> ${OUTPUT}/${STRUCTURE}.min.css |
| 57 | + --type css ${OUTPUT}/${STRUCTURE}.compiled.css >> ${OUTPUT}/${STRUCTURE}.min.css |
| 58 | + @@rm ${OUTPUT}/${STRUCTURE}.compiled.css |
75 | 59 | # ..... and then copy in the images
|
76 | 60 | @@cp -R css/themes/${THEME}/images ${OUTPUT}/
|
77 | 61 | # Css portion is complete.
|
|
0 commit comments