mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
parent
264139b225
commit
d2764d88ca
@ -30,7 +30,6 @@
|
||||
<property name="src.dir" value="${ui.dir}/ui/" />
|
||||
<property name="theme.dir" value="${ui.dir}/themes/base/" />
|
||||
<property name="docs.dir" value="${dist.dir}/docs/" />
|
||||
|
||||
<property name="min.dir" value="${dist.dir}/ui/minified" />
|
||||
<property name="size.dir" value="size" />
|
||||
|
||||
@ -161,9 +160,7 @@
|
||||
<mkdir dir="${min.dir}" />
|
||||
<mkdir dir="${min.dir}/i18n/" />
|
||||
<mkdir dir="${dist.dir}/themes/base/minified" />
|
||||
|
||||
<parallel threadsperprocessor="1">
|
||||
|
||||
<apply executable="java" parallel="false">
|
||||
<fileset dir="${dist.dir}/ui" includes="*.js" />
|
||||
<arg line="-jar" />
|
||||
@ -175,7 +172,6 @@
|
||||
<arg value="--js" />
|
||||
<mapper type="glob" from="*.js" to="${min.dir}/*.min.js" />
|
||||
</apply>
|
||||
|
||||
<apply executable="java" parallel="false">
|
||||
<fileset dir="${dist.dir}/ui/i18n" includes="*.js" />
|
||||
<arg line="-jar" />
|
||||
@ -187,7 +183,6 @@
|
||||
<arg value="--js" />
|
||||
<mapper type="glob" from="*.js" to="${min.dir}/i18n/*.min.js" />
|
||||
</apply>
|
||||
|
||||
<apply executable="java" parallel="false">
|
||||
<fileset dir="${dist.dir}/themes/base" includes="*.css" />
|
||||
<arg line="-jar" />
|
||||
@ -199,7 +194,6 @@
|
||||
<mapper type="glob" from="*.css" to="${dist.dir}/themes/base/minified/*.min.css" />
|
||||
<targetfile/>
|
||||
</apply>
|
||||
|
||||
</parallel>
|
||||
|
||||
<replaceregexp match=".css" replace=".min.css" flags="g">
|
||||
@ -262,9 +256,7 @@
|
||||
<target name="docs-download">
|
||||
<mkdir dir="${docs.dir}" />
|
||||
<property name="url" value="http://docs.jquery.com/action/render/UI/API/${release.version}/" />
|
||||
|
||||
<parallel threadcount="8">
|
||||
|
||||
<get src="${url}Draggable" dest="${docs.dir}draggable.html" />
|
||||
<get src="${url}Droppable" dest="${docs.dir}droppable.html" />
|
||||
<get src="${url}Resizable" dest="${docs.dir}resizable.html" />
|
||||
@ -325,8 +317,7 @@
|
||||
<for list="${urls}" param="url">
|
||||
<sequential>
|
||||
<get src="http://ui-dev.jquery.com/download/?@{url}" dest="${zip}" />
|
||||
<unzip src="${zip}"
|
||||
dest="${dist.dir}themes/">
|
||||
<unzip src="${zip}" dest="${dist.dir}themes/">
|
||||
<patternset>
|
||||
<include name="development-bundle/themes/**"/>
|
||||
<exclude name="development-bundle/themes/base/**"/>
|
||||
|
Loading…
Reference in New Issue
Block a user