File: coverage.rake

package info (click to toggle)
ruby-equatable 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 160 kB
  • sloc: ruby: 394; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
# encoding: utf-8

desc 'Measure code coverage'
task :coverage do
  begin
    original, ENV['COVERAGE'] = ENV['COVERAGE'], 'true'
    Rake::Task['spec'].invoke
  ensure
    ENV['COVERAGE'] = original
  end
end