You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/10/06 09:51:26 UTC

svn commit: r1529586 - /buildr/trunk/addon/buildr/gwt.rb

Author: donaldp
Date: Sun Oct  6 07:51:25 2013
New Revision: 1529586

URL: http://svn.apache.org/r1529586
Log:
Make sure that the addon does not fail if :dependencies is not specified

Modified:
    buildr/trunk/addon/buildr/gwt.rb

Modified: buildr/trunk/addon/buildr/gwt.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/addon/buildr/gwt.rb?rev=1529586&r1=1529585&r2=1529586&view=diff
==============================================================================
--- buildr/trunk/addon/buildr/gwt.rb (original)
+++ buildr/trunk/addon/buildr/gwt.rb Sun Oct  6 07:51:25 2013
@@ -96,7 +96,7 @@ module Buildr
         artifacts = (project.compile.sources + project.resources.sources).collect do |a|
           a.is_a?(String) ? file(a) : a
         end
-        dependencies = artifacts(options[:dependencies]) || project.compile.dependencies
+        dependencies = options[:dependencies] ? artifacts(options[:dependencies]) : project.compile.dependencies
 
         unit_cache_dir = project._(:target, :gwt, :unit_cache_dir, output_key)