Sha256: 1d154ffd7dc4d55197b6350bf71260aa33c9ce9ac3ac27987a37ab13216cf0b8

Contents?: true

Size: 856 Bytes

Versions: 3

Compression:

Stored size: 856 Bytes

Contents

begin
  require 'bundler'
  Bundler::GemHelper.install_tasks
rescue LoadError
  # ignore if bundler does not exist
end

require 'rubygems'
require 'rake/testtask'
require 'rake/clean'

task :default => [:test]

Rake::TestTask.new("test") do |t|
  t.libs << "test"
  t.test_files = Dir.glob("test/**/test_*.rb")
  t.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |t|
    t.rcov_opts << '-x /gems/'
    t.rcov_opts << '-x /tmp/'
    t.libs << 'test'
    t.pattern = 'test/test_*.rb'
    t.verbose = true
  end
rescue LoadError
end

begin
  require 'rdoc/task'
  Rake::RDocTask.new do |rdoc|
    version = File.exist?('VERSION') ? File.read('VERSION') : ""
    rdoc.rdoc_dir = 'rdoc'
    rdoc.title = "review #{version}"
    rdoc.rdoc_files.include('README*')
    rdoc.rdoc_files.include('lib/**/*.rb')
  end
rescue LoadError
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
review-1.7.2 Rakefile
review-1.7.1 Rakefile
review-1.7.0 Rakefile