You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by as...@apache.org on 2008/09/15 21:01:04 UTC

svn commit: r695579 - /incubator/buildr/trunk/Rakefile

Author: assaf
Date: Mon Sep 15 12:01:03 2008
New Revision: 695579

URL: http://svn.apache.org/viewvc?rev=695579&view=rev
Log:
Fixed apache:license task definition to work with Rake 0.8.2.

Modified:
    incubator/buildr/trunk/Rakefile

Modified: incubator/buildr/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/Rakefile?rev=695579&r1=695578&r2=695579&view=diff
==============================================================================
--- incubator/buildr/trunk/Rakefile (original)
+++ incubator/buildr/trunk/Rakefile Mon Sep 15 12:01:03 2008
@@ -43,10 +43,8 @@
 ENV['incubating'] = 'true'
 ENV['staging'] = "people.apache.org:~/public_html/#{spec.name}/#{spec.version}"
 
-task('apache.license').prerequisites.include(spec.files).
-  exclude('.class', '.png', '.jar', '.tif', '.textile', '.icns',
-           'README', 'LICENSE', 'CHANGELOG', 'DISCLAIMER', 'NOTICE', 'etc/KEYS', 'etc/git-svn-authors')
-
+task('apache:license').enhance FileList[spec.files].exclude('.class', '.png', '.jar', '.tif', '.textile', '.icns',
+   'README', 'LICENSE', 'CHANGELOG', 'DISCLAIMER', 'NOTICE', 'etc/KEYS', 'etc/git-svn-authors')
 
 task 'spec:check' do
   print 'Checking that we have JRuby, Scala and Groovy available ... '