buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1402729 - /buildr/trunk/rakelib/checks.rake
Date Sat, 27 Oct 2012 00:39:51 GMT
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|



Mime
View raw message