mirror of https://github.com/apache/lucene.git
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:
parent
1d2a982222
commit
05d089ca01
|
@ -136,7 +136,7 @@
|
||||||
def extensions = [
|
def extensions = [
|
||||||
'java', 'jflex', 'py', 'pl', 'g4', 'jj', 'html', 'js',
|
'java', 'jflex', 'py', 'pl', 'g4', 'jj', 'html', 'js',
|
||||||
'css', 'xml', 'xsl', 'vm', 'sh', 'cmd', 'bat', 'policy',
|
'css', 'xml', 'xsl', 'vm', 'sh', 'cmd', 'bat', 'policy',
|
||||||
'properties',
|
'properties', 'mdtext',
|
||||||
];
|
];
|
||||||
def invalidPatterns = [
|
def invalidPatterns = [
|
||||||
(~$/@author\b/$) : '@author javadoc tag',
|
(~$/@author\b/$) : '@author javadoc tag',
|
||||||
|
@ -175,7 +175,13 @@
|
||||||
include(name: 'dev-tools/**/*.' + it)
|
include(name: 'dev-tools/**/*.' + it)
|
||||||
include(name: '*.' + 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: '**/build/**')
|
||||||
|
exclude(name: '**/dist/**')
|
||||||
exclude(name: 'build.xml') // ourselves :-)
|
exclude(name: 'build.xml') // ourselves :-)
|
||||||
}
|
}
|
||||||
}.each{ f ->
|
}.each{ f ->
|
||||||
|
|
|
@ -446,7 +446,7 @@ BSD-licensed dictionary of Polish (SGJP)
|
||||||
http://sgjp.pl/morfeusz/
|
http://sgjp.pl/morfeusz/
|
||||||
|
|
||||||
Copyright © 2011 Zygmunt Saloni, Włodzimierz Gruszczyński,
|
Copyright © 2011 Zygmunt Saloni, Włodzimierz Gruszczyński,
|
||||||
Marcin Woliński, Robert Wołosz
|
Marcin Woliński, Robert Wołosz
|
||||||
|
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue