Sha256: f6ec586ed5273b47f85ed21fc1200ff2066543e8abe99652bd6400146be7f39c

Contents?: true

Size: 858 Bytes

Versions: 5

Compression:

Stored size: 858 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

5 entries across 5 versions & 1 rubygems

Version Path
review-1.6.0 Rakefile
review-1.5.0 Rakefile
review-1.4.0 Rakefile
review-1.3.0 Rakefile
review-1.2.0 Rakefile