Sha256: 4981f8fb130a750dd257851ca9007a6f47db26bad3c556c680b3ff6f1b4f4288

Contents?: true

Size: 775 Bytes

Versions: 5

Compression:

Stored size: 775 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'rspec'

$:.unshift(File.dirname(__FILE__) + '/lib')
require 'net/dns'


task :default => [:spec, :gem]

require 'rake'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |t|
  t.pattern = FileList['spec/**/*_spec.rb']
  t.rspec_opts = ["-r ./spec/spec_helper.rb"]
end

require 'rubygems/package_task'
Gem::PackageTask.new(Gem::Specification.load("net-dns.gemspec")).define

require 'yard'
YARD::Rake::YardocTask.new(:yardoc) do |y|
  y.options = ["--output-dir", "yardoc"]
end

namespace :yardoc do
  task :clobber do
    rm_r "yardoc" rescue nil
  end
end

task :clobber => "yardoc:clobber"


desc "Open an irb session preloaded with this library"
task :console do
  sh "irb -rubygems -I lib -r net/dns.rb"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
net-dns2-0.8.7 Rakefile
net-dns2-0.8.6 Rakefile
net-dns2-0.8.5 Rakefile
net-dns2-0.8.4 Rakefile
net-dns2-0.8.3 Rakefile