]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: create themes.zip as part of themes-download target
authorjzaefferer <joern.zaefferer@gmail.com>
Mon, 31 May 2010 13:48:10 +0000 (15:48 +0200)
committerjzaefferer <joern.zaefferer@gmail.com>
Mon, 31 May 2010 13:48:10 +0000 (15:48 +0200)
build/build.xml

index 864aea4491bf3e8c0da92fc6b4387780964d5095..d7c2392c4338eebbab7fb3e2cc8f0ae9c0e875b8 100644 (file)
                        </sequential>
                </for>
                <move todir="${dist.dir}themes/">
-            <fileset dir="${dist.dir}themes/" />
-            <mapper>
-                <mapper type="regexp" from="(.*)jquery-ui-.*custom.css" to="\1jquery-ui.css" />
-            </mapper>
-        </move>
+                       <fileset dir="${dist.dir}themes/" />
+                       <mapper>
+                               <mapper type="regexp" from="(.*)jquery-ui-.*custom.css" to="\1jquery-ui.css" />
+                       </mapper>
+               </move>
+               <zip destfile="${dist.dir}/../${release.filename}-themes.zip">
+                       <zipfileset dir="${dist.dir}/" includes="AUTHORS.txt,GPL-LICENSE.txt,MIT-LICENSE.txt,version.txt,themes/**" />
+               </zip>
        </target>
 
        <target name="whitespace">