Skip to content

Commit

Permalink
Build: add zip file for MS cdn to cdn target (was: googlecdn target)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Sep 15, 2010
1 parent 86aa70f commit bcde38d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build/build.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<property name="release.filename" value="jquery-ui-${release.version}" /> <property name="release.filename" value="jquery-ui-${release.version}" />


<property name="dist.dir" value="dist/${release.filename}/" /> <property name="dist.dir" value="dist/${release.filename}/" />
<property name="cdndist.dir" value="dist/${release.filename}-googlecdn" /> <property name="cdndist.dir" value="dist/${release.filename}-cdn" />
<property name="build.dir" value="build" /> <property name="build.dir" value="build" />
<property name="ui.dir" value="../" /> <property name="ui.dir" value="../" />
<property name="src.dir" value="${ui.dir}/ui/" /> <property name="src.dir" value="${ui.dir}/ui/" />
Expand Down Expand Up @@ -315,7 +315,7 @@
<echo message="All trailing spaces removed." /> <echo message="All trailing spaces removed." />
</target> </target>


<target name="googlecdn"> <target name="cdn">
<delete dir="${cdndist.dir}" /> <delete dir="${cdndist.dir}" />
<mkdir dir="${cdndist.dir}" /> <mkdir dir="${cdndist.dir}" />
<copy todir="${cdndist.dir}"> <copy todir="${cdndist.dir}">
Expand Down Expand Up @@ -347,7 +347,10 @@
</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="dist/" includes="${release.filename}-googlecdn/" /> <zipfileset dir="dist/" includes="${release.filename}-cdn/" />
</zip>
<zip destfile="${dist.dir}/../${release.filename}-mscdn.zip">
<zipfileset dir="dist/${release.filename}-cdn/" />
</zip> </zip>
</target> </target>


Expand Down

0 comments on commit bcde38d

Please sign in to comment.