mirror of https://github.com/apache/lucene.git
LUCENE-6732: Remove tabs in JS and XML files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f0654e355e
commit
1331a57e3d
|
@ -131,8 +131,7 @@
|
||||||
import org.apache.tools.ant.BuildException;
|
import org.apache.tools.ant.BuildException;
|
||||||
|
|
||||||
def extensions = [
|
def extensions = [
|
||||||
'java', 'jflex', 'py', 'pl', 'g4', 'jj', 'html'
|
'java', 'jflex', 'py', 'pl', 'g4', 'jj', 'html', 'js', 'xml'
|
||||||
// TODO: js, xml
|
|
||||||
];
|
];
|
||||||
def invalidPatterns = [
|
def invalidPatterns = [
|
||||||
(~$/@author\b/$) : '@author javadoc tag',
|
(~$/@author\b/$) : '@author javadoc tag',
|
||||||
|
@ -170,6 +169,7 @@
|
||||||
include(name: '*.' + it)
|
include(name: '*.' + it)
|
||||||
}
|
}
|
||||||
exclude(name: '**/build/**')
|
exclude(name: '**/build/**')
|
||||||
|
exclude(name: 'build.xml') // ourselves :-)
|
||||||
}
|
}
|
||||||
}.each{ f ->
|
}.each{ f ->
|
||||||
def text = f.getText('UTF-8');
|
def text = f.getText('UTF-8');
|
||||||
|
|
Loading…
Reference in New Issue