Sha256: e0b430c132f49bea3c9b4ab009504a444a4e3293d1af8ffe3e1f8d77e6be2288

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 Bytes

Contents

require 'rubygems'
require 'rake'

require 'bundler/gem_tasks'

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'spec'
  test.pattern = 'spec/**/*_spec.rb'
  test.verbose = true
end

require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
  test.libs << 'spec'
  test.pattern = 'spec/**/*_spec.rb'
  test.rcov_opts += ['--exclude \/Library\/Ruby,spec\/', '--xrefs']
  test.verbose = true
end

require 'yard'

YARD::Rake::YardocTask.new(:doc) do |t|
  t.options = ['--no-private', '-m', 'markdown', '-o', './doc/public/yard']
end

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
niceogiri-0.0.4 Rakefile
niceogiri-0.0.3 Rakefile