SHA1 calculation will delete all SHA1 files and recreate them with consistent EOLs.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326341 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2012-04-15 13:59:16 +00:00
parent 0404a5ac65
commit aec9ccdfb9
1 changed files with 11 additions and 0 deletions

View File

@ -164,10 +164,21 @@
</target>
<target name="jar-checksums" description="Recompute SHA1 checksums for all JAR files.">
<delete>
<fileset dir="${basedir}">
<include name="**/*.jar.sha1"/>
</fileset>
</delete>
<checksum algorithm="SHA1" fileext=".sha1">
<fileset dir="${basedir}">
<include name="**/*.jar"/>
</fileset>
</checksum>
<fixcrlf
srcdir="${basedir}"
includes="**/*.jar.sha1"
eol="lf" fixlast="true" encoding="US-ASCII" />
</target>
</project>