Author: donaldp
Date: Sat Oct 27 00:39:50 2012
New Revision: 1402729
URL: http://svn.apache.org/viewvc?rev=1402729&view=rev
Log:
Restrict the license check to avoid rechecking those files copied as part of
the site command.
Modified:
buildr/trunk/rakelib/checks.rake
Modified: buildr/trunk/rakelib/checks.rake
URL:
http://svn.apache.org/viewvc/buildr/trunk/rakelib/checks.rake?rev=1402729&r1=1402728&r2=1402729&view=diff
==============================================================================
--- buildr/trunk/rakelib/checks.rake (original)
+++ buildr/trunk/rakelib/checks.rake Sat Oct 27 00:39:50 2012
@@ -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|