Skip to content

Commit 0c05501

Browse files
ossreleasefeedScott Jehl
authored andcommitted
Added new ant build file for those that want to get at the combined JS and CSS files but don't want to go through the PHP server set-up bit.
1 parent 531b1a8 commit 0c05501

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

build.xml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<?xml version="1.0"?>
2+
<project name="jquery-mobile" basedir="." default="merge">
3+
4+
<property name="cssdir" location="themes/default"/>
5+
<property name="jsdir" location="js"/>
6+
<property name="css-sources" value="jquery.mobile.button.css,
7+
jquery.mobile.collapsible.css,
8+
jquery.mobile.controlgroup.css,
9+
jquery.mobile.core.css,
10+
jquery.mobile.dialog.css,
11+
jquery.mobile.forms.checkboxradio.css,
12+
jquery.mobile.forms.fieldcontain.css,
13+
jquery.mobile.forms.select.css,
14+
jquery.mobile.forms.slider.css,
15+
jquery.mobile.forms.textinput.css,
16+
jquery.mobile.grids.css,
17+
jquery.mobile.headerfooter.css,
18+
jquery.mobile.listview.css,
19+
jquery.mobile.navbar.css,
20+
jquery.mobile.theme.css,
21+
jquery.mobile.transitions.css"/>
22+
<property name="js-sources" value="jquery.js,
23+
jquery.mobile.buttonMarkup.js,
24+
jquery.mobile.collapsible.js,
25+
jquery.mobile.controlGroup.js,
26+
jquery.mobile.dialog.js,
27+
jquery.mobile.event.js,
28+
jquery.mobile.fieldContain.js,
29+
jquery.mobile.fixHeaderFooter.js,
30+
jquery.mobile.forms.ajaxform.js,
31+
jquery.mobile.forms.button.js,
32+
jquery.mobile.forms.checkboxradio.js,
33+
jquery.mobile.forms.select.js,
34+
jquery.mobile.forms.slider.js,
35+
jquery.mobile.forms.textinput.js,
36+
jquery.mobile.grid.js,
37+
jquery.mobile.hashchange.js,
38+
jquery.mobile.js,
39+
jquery.mobile.listview.filter.js,
40+
jquery.mobile.listview.js,
41+
jquery.mobile.navbar.js,
42+
jquery.mobile.page.js,
43+
jquery.mobile.support.js,
44+
jquery.mobile.widget.js,
45+
jquery.ui.widget.js"/>
46+
47+
<target name="merge">
48+
<antcall target="merge_css" />
49+
<antcall target="merge_js" />
50+
</target>
51+
52+
<target name="merge_css">
53+
<concat destfile="combine/jquery.mobile.css">
54+
<filelist dir="${cssdir}" files="${css-sources}"/>
55+
</concat>
56+
</target>
57+
58+
<target name="merge_js">
59+
<concat destfile="combine/jquery.mobile.js">
60+
<filelist dir="${jsdir}" files="${js-sources}"/>
61+
</concat>
62+
</target>
63+
</project>

0 commit comments

Comments
 (0)