mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Builds: used ant parallel task to run the two closure compiler steps and the yui css compressor step in parallel. The http get requests for documentation are also run in parallel. Reduced build time by about 40%. Fixed #7404 - build.xml can run quicker.
This commit is contained in:
parent
9d067d3c97
commit
a6f8019325
@ -161,6 +161,8 @@
|
||||
<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" />
|
||||
@ -197,6 +199,8 @@
|
||||
<targetfile/>
|
||||
</apply>
|
||||
|
||||
</parallel>
|
||||
|
||||
<replaceregexp match=".css" replace=".min.css" flags="g">
|
||||
<fileset dir="${dist.dir}/themes/base/minified/">
|
||||
<include name="*.base.min.css"/>
|
||||
@ -258,6 +262,8 @@
|
||||
<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" />
|
||||
@ -305,6 +311,7 @@
|
||||
<get src="http://docs.jquery.com/action/render/UI/Effects/Shake" dest="${docs.dir}effect-shake.html" />
|
||||
<get src="http://docs.jquery.com/action/render/UI/Effects/Size" dest="${docs.dir}effect-size.html" />
|
||||
<get src="http://docs.jquery.com/action/render/UI/Effects/Transfer" dest="${docs.dir}effect-transfer.html" />
|
||||
</parallel>
|
||||
</target>
|
||||
|
||||
<target name="themes-download">
|
||||
|
Loading…
Reference in New Issue
Block a user