buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djspie...@apache.org
Subject svn commit: r917123 - /buildr/trunk/lib/buildr/core/cc.rb
Date Sun, 28 Feb 2010 04:37:10 GMT
Author: djspiewak
Date: Sun Feb 28 04:37:10 2010
New Revision: 917123

URL: http://svn.apache.org/viewvc?rev=917123&view=rev
Log:
Fixed resource task invocation

Modified:
    buildr/trunk/lib/buildr/core/cc.rb

Modified: buildr/trunk/lib/buildr/core/cc.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/cc.rb?rev=917123&r1=917122&r2=917123&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/cc.rb (original)
+++ buildr/trunk/lib/buildr/core/cc.rb Sun Feb 28 04:37:10 2010
@@ -101,12 +101,10 @@
               changed.any? { |file| file.index(dir) == 0 }
             end
             
-            # TODO  for some reason, resources task doesn't run like this
-            project.task(:resources).reenable if in_res
             project.task(:compile).reenable if in_main
             project.task('test:compile').reenable if in_test
             
-            project.task(:resources).invoke
+            project.task(:resources).filter.run if in_res
             project.task(:compile).invoke
             project.task('test:compile').invoke
           end



Mime
View raw message