Update and fix rat-excludes It seems that Rat's -E option expects regexes that are matched against the filename without directory.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/6b4b61d4 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/6b4b61d4 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/6b4b61d4 Branch: refs/heads/master Commit: 6b4b61d4d4a33f6f059005583bcce2ac2f7e2072 Parents: 7618658 Author: Nick Wellnhofer <[email protected]> Authored: Sat Jan 9 15:27:10 2016 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Sat Jan 9 16:05:26 2016 +0100 ---------------------------------------------------------------------- devel/conf/rat-excludes | 38 ++++++++++++++------------------------ 1 file changed, 14 insertions(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6b4b61d4/devel/conf/rat-excludes ---------------------------------------------------------------------- diff --git a/devel/conf/rat-excludes b/devel/conf/rat-excludes index 86525b7..ca84b92 100644 --- a/devel/conf/rat-excludes +++ b/devel/conf/rat-excludes @@ -14,42 +14,32 @@ # limitations under the License. # Ignore the .git directory. -.git/** +\.git # CHANGES and MANIFEST files do not require license headers. CHANGES -compiler/perl/MANIFEST -runtime/perl/MANIFEST +MANIFEST # doc file does not require license. CONTRIBUTING # These files are autogenerated by running CFCLexHeader.l through Flex. # Flex's licensing explicitly disclaims copyright on generated lexers. -compiler/src/CFCLexHeader.h -compiler/src/CFCLexHeader.c +CFCLexHeader\.h +CFCLexHeader\.c # The Lemon parser generator is in the public domain. See LUCY-173. -lemon/lemon.c -lemon/lempar.c +lemon\.c +lempar\.c + +# libcmark is BSD- and MIT-licensed. See compiler/modules/CommonMark/COPYING. +CommonMark + +# Markdown does not allow comments +.*\.md # Clownfish parcel files (.cfp) are in JSON format and cannot have comments. -compiler/c/t/cfbase/Animal.cfp -compiler/c/t/cfext/AnimalExtension.cfp -compiler/perl/t/cfbase/Animal.cfp -compiler/perl/t/cfclash/bar/Bar.cfp -compiler/perl/t/cfclash/class/AnimalExtension.cfp -compiler/perl/t/cfclash/foo/Foo.cfp -compiler/perl/t/cfext/AnimalExtension.cfp -runtime/core/Clownfish.cfp -runtime/core/TestClownfish.cfp +.*\.cfp # gitignore files should be ignored -.gitignore -compiler/.gitignore -compiler/c/.gitignore -compiler/perl/.gitignore -devel/benchmarks/method_dispatch/.gitignore -lemon/.gitignore -runtime/c/.gitignore -runtime/perl/.gitignore +\.gitignore
