Sha256: 577aee32e966169905de3579ae500307f57ba47f59c166b8b895e4c30006896e
Contents?: true
Size: 562 Bytes
Versions: 7
Compression:
Stored size: 562 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) if RUBY_VERSION >= '1.9' namespace :cover_me do desc "Generates and opens code coverage report." task :report do require 'cover_me' CoverMe.complete! end end task :spec do Rake::Task['cover_me:report'].invoke unless ENV['TRAVIS_RUBY_VERSION'] end else RSpec::Core::RakeTask.new(:rcov) do |spec| spec.rcov = true spec.rcov_opts = ['-Ilib -Ispec --exclude spec,gems'] end end task :default => :spec
Version data entries
7 entries across 7 versions & 4 rubygems