Sha256: cab65b265792e5f093ed9a35237d84881dc35de0142a37a8885a8fac02f2bfdb
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_ROOT, "coverage", "index.html")}` end ENV["COVERAGE"] = prev end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cli-forge-0.1.0 | tasks/spec/coverage.rake |