mirror of https://github.com/apache/lucene.git
LUCENE-4362: add the check to build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386688 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ded01621a4
commit
739bfe89e8
|
@ -80,11 +80,12 @@
|
|||
<or>
|
||||
<containsregexp expression="@author\b" casesensitive="yes"/>
|
||||
<containsregexp expression="\bno(n|)commit\b" casesensitive="no"/>
|
||||
<containsregexp expression="\t" casesensitive="no"/>
|
||||
</or>
|
||||
</fileset>
|
||||
<map from="${validate.currDir}${file.separator}" to="* "/>
|
||||
</pathconvert>
|
||||
<fail if="validate.patternsFound">The following files contain @author tags or nocommits:${line.separator}${validate.patternsFound}</fail>
|
||||
<fail if="validate.patternsFound">The following files contain @author tags, tabs or nocommits:${line.separator}${validate.patternsFound}</fail>
|
||||
</target>
|
||||
|
||||
<target name="rat-sources" description="Runs rat across all sources and tests">
|
||||
|
|
Loading…
Reference in New Issue