Restrict the license check to avoid rechecking those files copied as part of the...
authorPeter Donald <donaldp@apache.org>
Sat, 27 Oct 2012 00:39:50 +0000 (00:39 +0000)
committerPeter Donald <donaldp@apache.org>
Sat, 27 Oct 2012 00:39:50 +0000 (00:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1402729 13f79535-47bb-0310-9956-ffa450edef68

rakelib/checks.rake

index bf5c463..e567b60 100644 (file)
@@ -15,7 +15,7 @@
 
 
 desc 'Check that source files contain the Apache license'
-task 'license' => FileList['**/*.{rb,rake,java,gemspec,buildfile}', 'Rakefile'] do |task|
+task 'license' => FileList['{addond,lib,doc,rakelib}/**/*.{rb,rake,java}', 'buildr.gemspec', 'Rakefile'] do |task|
   puts 'Checking that files contain the Apache license ... '
   required = task.prerequisites.select { |fn| File.file?(fn) }
   missing = required.reject { |fn|