buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toulm...@apache.org
Subject svn commit: r959864 - /buildr/trunk/rakelib/checks.rake
Date Fri, 02 Jul 2010 05:48:36 GMT
Author: toulmean
Date: Fri Jul  2 05:48:35 2010
New Revision: 959864

URL: http://svn.apache.org/viewvc?rev=959864&view=rev
Log:
only check runtime dependencies before we do the release

Modified:
    buildr/trunk/rakelib/checks.rake

Modified: buildr/trunk/rakelib/checks.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/checks.rake?rev=959864&r1=959863&r2=959864&view=diff
==============================================================================
--- buildr/trunk/rakelib/checks.rake (original)
+++ buildr/trunk/rakelib/checks.rake Fri Jul  2 05:48:35 2010
@@ -45,7 +45,7 @@ task :dependency do
     dep_spec.runtime_dependencies.map { |trans| transitive[trans].push(trans) }.flatten.uniq
}
   # For each dependency, make sure *all* its transitive dependencies are listed
   # as a Buildr dependency, and order is preserved.
-  spec.dependencies.each_with_index do |dep, index|
+  spec.dependencies.select {|dep| dep.type == :runtime }.each_with_index do |dep, index|
     puts "checking #{dep.name}"
     transitive[dep].each do |trans|
       matching = spec.dependencies.find { |existing| trans =~ existing }



Mime
View raw message