Return-Path: Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: (qmail 14822 invoked from network); 2 Jul 2010 05:50:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jul 2010 05:50:03 -0000 Received: (qmail 75086 invoked by uid 500); 2 Jul 2010 05:50:03 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 75056 invoked by uid 500); 2 Jul 2010 05:50:02 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 75049 invoked by uid 99); 2 Jul 2010 05:50:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 05:50:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 05:49:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 354EA238897A; Fri, 2 Jul 2010 05:48:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r959864 - /buildr/trunk/rakelib/checks.rake Date: Fri, 02 Jul 2010 05:48:36 -0000 To: commits@buildr.apache.org From: toulmean@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100702054836.354EA238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 }