Sha256: e7d105835d7a57de613e7afd0a153a216626943488a0e5f62c487959742bd63d
Contents?: true
Size: 318 Bytes
Versions: 1
Compression:
Stored size: 318 Bytes
Contents
namespace :spec do desc "Run tests with code coverage" task :coverage do prev = ENV["COVERAGE"] ENV["COVERAGE"] = "yes" Rake::Task["spec"].execute if RUBY_PLATFORM.include? "darwin" `open #{File.join(PROJECT_PATH, "coverage", "index.html")}` end ENV["COVERAGE"] = prev end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cli-forge-0.0.0 | tasks/spec/coverage.rake |