Sha256: 90b6bbef557dfe6edcc2622c62be6b0c5b9c182d8f7695334dc4f83b131bfc1c

Contents?: true

Size: 614 Bytes

Versions: 2

Compression:

Stored size: 614 Bytes

Contents

# encoding: utf-8

require 'rubygems'
require 'rake'

task :default => :test

begin
  gem 'rubygems-tasks', '~> 0.2'
  require 'rubygems/tasks'

  Gem::Tasks.new
rescue LoadError => e
  warn e.message
  warn "Run `gem install rubygems-tasks` to install Gem::Tasks."
end

begin
  gem 'yard', '~> 0.8'
  require 'yard'

  YARD::Rake::YardocTask.new  
rescue LoadError => e
  task :yard do
    abort "Please run `gem install yard` to install YARD."
  end
end
task :doc => :yard

require 'rake/testtask'
Rake::TestTask.new do |test|
  test.libs << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nokogiri-xml-range-0.1.1 Rakefile
nokogiri-xml-range-0.1.0 Rakefile