groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject incubator-groovy git commit: rat tweaks
Date Tue, 30 Jun 2015 10:24:18 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/master f8f3f4f31 -> 73f0b8e5c


rat tweaks


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/73f0b8e5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/73f0b8e5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/73f0b8e5

Branch: refs/heads/master
Commit: 73f0b8e5c425b40bfb4ec6135b1e72e006a1b7dc
Parents: f8f3f4f
Author: Paul King <paulk@asert.com.au>
Authored: Tue Jun 30 20:22:25 2015 +1000
Committer: Paul King <paulk@asert.com.au>
Committed: Tue Jun 30 20:23:58 2015 +1000

----------------------------------------------------------------------
 gradle/quality.gradle | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/73f0b8e5/gradle/quality.gradle
----------------------------------------------------------------------
diff --git a/gradle/quality.gradle b/gradle/quality.gradle
index 914b707..d07d10d 100644
--- a/gradle/quality.gradle
+++ b/gradle/quality.gradle
@@ -139,10 +139,18 @@ allprojects {
         }
     }
 }
+
 subprojects { sp ->
+    def extras = []
+    if (sp.name == 'groovy-templates') extras = [
+            // test files
+            'src/spec/test-resources/*.txt',
+            'src/test/resources/includes/hello-escaped.txt',
+            'src/test/resources/includes/hello.html'
+    ]
     rat {
         inputDir = sp.projectDir.absolutePath
-        excludes = [ 'target/**', '.gradle/**', '**/assets/**', '*.iml' ]
+        excludes = [ 'target/**', '.gradle/**', '**/assets/**', '*.iml' , *extras]
         failOnError = false
     }
 }
@@ -151,6 +159,7 @@ rat {
     excludes = [ 'subprojects/**', // covered above
                  'benchmark/**', // benchmarking files excluded from src zip
                  'config/**',
+                 'src/test/org/codehaus/groovy/ast/LineColumnCheck.txt', // test file
                  'security/groovykeys', // excluded from src zip
                  '**/.gradle/**', '**/wrapper/**', 'gradlew*',  // gradle wrapper files excluded
from src zip
                  '**/target/**', 'licenses/**',


Mime
View raw message