Build: For some reason, using parallel for gzip is causing some truncation issues

(cherry picked from commit d871fe46aa)
This commit is contained in:
Corey Frang 2011-10-17 17:04:14 -05:00
parent e7702c1c14
commit 1e2fcb9f4b

View File

@ -361,17 +361,15 @@
<fileset dir="${dist.dir}/themes/base/minified" includes="*.css" /> <fileset dir="${dist.dir}/themes/base/minified" includes="*.css" />
</copy> </copy>
<echo message="GZipping Minified" /> <echo message="GZipping Minified" />
<parallel threadsperprocessor="2"> <apply executable="gzip">
<apply executable="gzip"> <fileset dir="${size.dir}" includes="*.min.js" />
<fileset dir="${size.dir}" includes="*.min.js" /> <fileset dir="${size.dir}" includes="*.min.css" />
<fileset dir="${size.dir}" includes="*.min.css" /> <arg value="-c" />
<arg value="-c" /> <srcfile />
<srcfile /> <redirector>
<redirector> <outputmapper id="out" type="glob" from="*" to="${size.dir}/*.gz"/>
<outputmapper id="out" type="glob" from="*" to="${size.dir}/*.gz"/> </redirector>
</redirector> </apply>
</apply>
</parallel>
<echo message="Comparing file size with previous build" /> <echo message="Comparing file size with previous build" />
<exec executable="bash"> <exec executable="bash">
<arg value="-c" /> <arg value="-c" />