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/08/27 02:46:43 UTC

svn commit: r689306 - /incubator/buildr/trunk/rakelib/rspec.rake

Author: assaf
Date: Tue Aug 26 17:46:43 2008
New Revision: 689306

URL: http://svn.apache.org/viewvc?rev=689306&view=rev
Log:
Fix to create reports directory before running coverage task.

Modified:
    incubator/buildr/trunk/rakelib/rspec.rake

Modified: incubator/buildr/trunk/rakelib/rspec.rake
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/rakelib/rspec.rake?rev=689306&r1=689305&r2=689306&view=diff
==============================================================================
--- incubator/buildr/trunk/rakelib/rspec.rake (original)
+++ incubator/buildr/trunk/rakelib/rspec.rake Tue Aug 26 17:46:43 2008
@@ -38,7 +38,7 @@
 
   # TODO: Horribly broken!  Fix some other time.
   desc 'Run RSpec and generate Spec and coverage reports (slow)'
-  Spec::Rake::SpecTask.new('coverage') do |task|
+  Spec::Rake::SpecTask.new('coverage'=>'reports') do |task|
     task.spec_files = Dir['spec/**/*_spec.rb']
     task.spec_opts = %W{--format progress --colour --format failing_examples:failed --format html:reports/specs.html --backtrace}    
     task.rcov = true