LUCENE-6732: Scan txt files in root folder, too. TODO: scan txt files everywhere

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695669 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2015-08-13 09:53:44 +00:00
parent 1d2a982222
commit 05d089ca01
2 changed files with 8 additions and 2 deletions

View File

@ -136,7 +136,7 @@
def extensions = [
'java', 'jflex', 'py', 'pl', 'g4', 'jj', 'html', 'js',
'css', 'xml', 'xsl', 'vm', 'sh', 'cmd', 'bat', 'policy',
'properties',
'properties', 'mdtext',
];
def invalidPatterns = [
(~$/@author\b/$) : '@author javadoc tag',
@ -175,7 +175,13 @@
include(name: 'dev-tools/**/*.' + it)
include(name: '*.' + it)
}
// TODO: For now we don't scan txt files, so we
// check licenses in top-level folders separately:
include(name: '*.txt')
include(name: '*/*.txt')
// excludes:
exclude(name: '**/build/**')
exclude(name: '**/dist/**')
exclude(name: 'build.xml') // ourselves :-)
}
}.each{ f ->

View File

@ -446,7 +446,7 @@ BSD-licensed dictionary of Polish (SGJP)
http://sgjp.pl/morfeusz/
Copyright © 2011 Zygmunt Saloni, Włodzimierz Gruszczyński,
Marcin Woliński, Robert Wołosz
Marcin Woliński, Robert Wołosz
All rights reserved.