]> source.dussan.org Git - jquery-ui.git/commitdiff
First iteration for generating the MANIFEST file with checksums
authorjzaefferer <joern.zaefferer@gmail.com>
Sun, 21 Mar 2010 21:16:56 +0000 (22:16 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Sun, 21 Mar 2010 21:16:56 +0000 (22:16 +0100)
build/build.xml

index 0f4131b0e129312193f7ba5a391fb23d84100485..6dd66216ea2f6b9acbd42206f13eac79714277d3 100644 (file)
                </replaceregexp>
                <echo message="All trailing spaces removed." />
        </target>
+       
+       <target name="checksums">
+       <delete dir="google" />
+       <mkdir dir="google" />
+               <copy file="dist/jquery-ui-1.9pre/version.txt" todir="google" />
+               <copy file="dist/jquery-ui-1.9pre/AUTHORS.txt" todir="google" />
+               <copy file="dist/jquery-ui-1.9pre/GPL-LICENSE.txt" todir="google" />
+               <checksum>
+                       <fileset dir="google" />
+               </checksum>
+               <concat destfile="google/MANIFEST">
+                       <fileset dir="google" includes="**/*.MD5" />
+               </concat>
+               <!--
+        <for param="file">
+               <path><fileset dir="google" includes="**/" excludes="**/*.MD5" /></path>
+                       <sequential>
+                               <checksum file="@{file}" />
+                       </sequential>
+               </for>
+               <for param="file">
+               <path><fileset dir="google" includes="**/" excludes="**/*.MD5" /></path>
+                       <sequential>
+                               <echo message="@{file}" />
+                               <concat><file file="@{file}.MD5" /></concat>
+                       </sequential>
+               </for>
+               -->
+    </target>
 
 </project>