Sha256: 766cc57d34805d06a772445b141fc266155070a09e1fb6fb6627b752f2784ea8

Contents?: true

Size: 222 Bytes

Versions: 20

Compression:

Stored size: 222 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

20 entries across 20 versions & 8 rubygems

Version Path
planter-cli-3.0.7 lib/tty-spinner/tasks/coverage.rake
planter-cli-3.0.5 lib/tty-spinner/tasks/coverage.rake
planter-cli-3.0.4 lib/tty-spinner/tasks/coverage.rake
planter-cli-3.0.3 lib/tty-spinner/tasks/coverage.rake
planter-cli-3.0.2 lib/tty-spinner/tasks/coverage.rake
rfix-3.0.1 vendor/strings-ansi/tasks/coverage.rake
rfix-3.0.0 vendor/strings-ansi/tasks/coverage.rake
rfix-2.0.4 vendor/strings-ansi/tasks/coverage.rake
rfix-2.0.3 vendor/strings-ansi/tasks/coverage.rake
rfix-2.0.2 vendor/strings-ansi/tasks/coverage.rake
rfix-2.0.1 vendor/strings-ansi/tasks/coverage.rake
rfix-2.0.0 vendor/strings-ansi/tasks/coverage.rake
strings-numeral-0.1.0 tasks/coverage.rake
strings-case-0.3.0 tasks/coverage.rake
strings-inflection-0.1.0 tasks/coverage.rake
strings-case-0.2.0 tasks/coverage.rake
strings-ansi-0.2.0 tasks/coverage.rake
strings-case-0.1.0 tasks/coverage.rake
tenpin-0.0.0 tasks/coverage.rake
tty-link-0.1.0 tasks/coverage.rake