Skip to content
Permalink
Browse files

Build: For some reason, using parallel for gzip is causing some trunc…

…ation issues
  • Loading branch information...
gnarf committed Oct 17, 2011
1 parent f6c1284 commit d871fe46aa18abd561f2f9189a5e14c00f022420
Showing with 9 additions and 11 deletions.
  1. +9 −11 build/build.xml
@@ -361,17 +361,15 @@
<fileset dir="${dist.dir}/themes/base/minified" includes="*.css" />
</copy>
<echo message="GZipping Minified" />
<parallel threadsperprocessor="2">
<apply executable="gzip">
<fileset dir="${size.dir}" includes="*.min.js" />
<fileset dir="${size.dir}" includes="*.min.css" />
<arg value="-c" />
<srcfile />
<redirector>
<outputmapper id="out" type="glob" from="*" to="${size.dir}/*.gz"/>
</redirector>
</apply>
</parallel>
<apply executable="gzip">
<fileset dir="${size.dir}" includes="*.min.js" />
<fileset dir="${size.dir}" includes="*.min.css" />
<arg value="-c" />
<srcfile />
<redirector>
<outputmapper id="out" type="glob" from="*" to="${size.dir}/*.gz"/>
</redirector>
</apply>
<echo message="Comparing file size with previous build" />
<exec executable="bash">
<arg value="-c" />

0 comments on commit d871fe4

Please sign in to comment.
You can’t perform that action at this time.