Rakefile in ci_reporter-1.5.3 vs Rakefile in ci_reporter-1.6.0
- old
+ new
@@ -56,14 +56,15 @@
rm_f "Manifest.txt"
end
task :rcov => "spec:rcov"
task :generate_output do
- rm_f "acceptance/reports/*.xml"
+ rm_rf "acceptance/reports"
ENV['CI_REPORTS'] = "acceptance/reports"
begin
`ruby -Ilib acceptance/test_unit_example_test.rb` rescue nil
`ruby -Ilib -S spec --require ci/reporter/rake/rspec_loader --format CI::Reporter::RSpec acceptance/rspec_example_spec.rb` rescue nil
+ `ruby -Ilib -rci/reporter/rake/cucumber_loader -S cucumber --format CI::Reporter::Cucumber acceptance/cucumber` rescue nil
ensure
ENV.delete 'CI_REPORTS'
end
end
task :acceptance => :generate_output