Build: Include folders for themes and googlecdn builds. Fixed #5759 Build: all zips should contain folder at root named same as zip

This commit is contained in:
jzaefferer 2010-06-23 15:21:17 +02:00
parent 0bfbd7afa1
commit 3824f75c00

View File

@ -297,8 +297,11 @@
<mapper type="regexp" from="(.*)jquery-ui-.*custom.css" to="\1jquery-ui.css" /> <mapper type="regexp" from="(.*)jquery-ui-.*custom.css" to="\1jquery-ui.css" />
</mapper> </mapper>
</move> </move>
<copy todir="dist/${release.filename}-themes">
<fileset dir="${dist.dir}/" includes="AUTHORS.txt,GPL-LICENSE.txt,MIT-LICENSE.txt,version.txt,themes/**" />
</copy>
<zip destfile="${dist.dir}/../${release.filename}-themes.zip"> <zip destfile="${dist.dir}/../${release.filename}-themes.zip">
<zipfileset dir="${dist.dir}/" includes="AUTHORS.txt,GPL-LICENSE.txt,MIT-LICENSE.txt,version.txt,themes/**" /> <zipfileset dir="dist/" includes="${release.filename}-themes/" />
</zip> </zip>
</target> </target>
@ -342,7 +345,7 @@
</for> </for>
<delete dir="${cdndist.dir}" includes="**/*.MD5" /> <delete dir="${cdndist.dir}" includes="**/*.MD5" />
<zip destfile="${dist.dir}/../${release.filename}-googlecdn.zip"> <zip destfile="${dist.dir}/../${release.filename}-googlecdn.zip">
<zipfileset dir="${cdndist.dir}/" /> <zipfileset dir="dist/" includes="${release.filename}-googlecdn/" />
</zip> </zip>
</target> </target>