mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-02 20:04:43 +00:00
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.
This commit is contained in:
parent
531b1a8863
commit
0c05501b0d
1 changed files with 63 additions and 0 deletions
63
build.xml
Normal file
63
build.xml
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0"?>
|
||||
<project name="jquery-mobile" basedir="." default="merge">
|
||||
|
||||
<property name="cssdir" location="themes/default"/>
|
||||
<property name="jsdir" location="js"/>
|
||||
<property name="css-sources" value="jquery.mobile.button.css,
|
||||
jquery.mobile.collapsible.css,
|
||||
jquery.mobile.controlgroup.css,
|
||||
jquery.mobile.core.css,
|
||||
jquery.mobile.dialog.css,
|
||||
jquery.mobile.forms.checkboxradio.css,
|
||||
jquery.mobile.forms.fieldcontain.css,
|
||||
jquery.mobile.forms.select.css,
|
||||
jquery.mobile.forms.slider.css,
|
||||
jquery.mobile.forms.textinput.css,
|
||||
jquery.mobile.grids.css,
|
||||
jquery.mobile.headerfooter.css,
|
||||
jquery.mobile.listview.css,
|
||||
jquery.mobile.navbar.css,
|
||||
jquery.mobile.theme.css,
|
||||
jquery.mobile.transitions.css"/>
|
||||
<property name="js-sources" value="jquery.js,
|
||||
jquery.mobile.buttonMarkup.js,
|
||||
jquery.mobile.collapsible.js,
|
||||
jquery.mobile.controlGroup.js,
|
||||
jquery.mobile.dialog.js,
|
||||
jquery.mobile.event.js,
|
||||
jquery.mobile.fieldContain.js,
|
||||
jquery.mobile.fixHeaderFooter.js,
|
||||
jquery.mobile.forms.ajaxform.js,
|
||||
jquery.mobile.forms.button.js,
|
||||
jquery.mobile.forms.checkboxradio.js,
|
||||
jquery.mobile.forms.select.js,
|
||||
jquery.mobile.forms.slider.js,
|
||||
jquery.mobile.forms.textinput.js,
|
||||
jquery.mobile.grid.js,
|
||||
jquery.mobile.hashchange.js,
|
||||
jquery.mobile.js,
|
||||
jquery.mobile.listview.filter.js,
|
||||
jquery.mobile.listview.js,
|
||||
jquery.mobile.navbar.js,
|
||||
jquery.mobile.page.js,
|
||||
jquery.mobile.support.js,
|
||||
jquery.mobile.widget.js,
|
||||
jquery.ui.widget.js"/>
|
||||
|
||||
<target name="merge">
|
||||
<antcall target="merge_css" />
|
||||
<antcall target="merge_js" />
|
||||
</target>
|
||||
|
||||
<target name="merge_css">
|
||||
<concat destfile="combine/jquery.mobile.css">
|
||||
<filelist dir="${cssdir}" files="${css-sources}"/>
|
||||
</concat>
|
||||
</target>
|
||||
|
||||
<target name="merge_js">
|
||||
<concat destfile="combine/jquery.mobile.js">
|
||||
<filelist dir="${jsdir}" files="${js-sources}"/>
|
||||
</concat>
|
||||
</target>
|
||||
</project>
|
||||
Loading…
Reference in a new issue