Sha256: d958192faec79e2c19015c16bcd988e1043f1aed3518d570d4897525596dfc9c

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rake/testtask'
Rake::TestTask.new do |t|
  t.test_files = FileList['test/**/*_{test,spec}.rb']
  # t.warning = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |t|
    t.test_files = FileList['test/**/*_{test,spec}.rb']
    t.verbose = true
    t.rcov_opts << %w{ --exclude .rvm }
  end
rescue LoadError
  desc 'Analyze code coverage with tests'
  task :rcov do
    puts "Install rcov"
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
half_shell-0.0.3 Rakefile
formation-0.0.1 Rakefile