mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
20 lines
473 B
Ruby
20 lines
473 B
Ruby
require "bundler/gem_tasks"
|
|
|
|
require 'rake/testtask'
|
|
Rake::TestTask.new(:test) do |test|
|
|
test.libs << 'lib' << 'test'
|
|
test.pattern = 'test/**/test_*.rb'
|
|
test.verbose = true
|
|
end
|
|
|
|
task :default => :test
|
|
|
|
require 'rdoc/task'
|
|
Rake::RDocTask.new do |rdoc|
|
|
version = HTTP::Cookie::VERSION
|
|
|
|
rdoc.rdoc_dir = 'rdoc'
|
|
rdoc.title = "http-cookie #{version}"
|
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
rdoc.rdoc_files.include(Bundler::GemHelper.gemspec.extra_rdoc_files)
|
|
end
|