2008-03-03 00:35:46 +00:00
|
|
|
require 'rubygems'
|
|
|
|
require 'hoe'
|
|
|
|
require './lib/webrat.rb'
|
2008-03-02 20:14:52 +00:00
|
|
|
|
2008-03-03 00:35:46 +00:00
|
|
|
Hoe.new('webrat', Webrat::VERSION) do |p|
|
|
|
|
p.rubyforge_name = 'webrat'
|
|
|
|
p.summary = 'Ruby Acceptance Testing for Web applications'
|
|
|
|
|
2008-03-03 00:55:50 +00:00
|
|
|
p.developer "Bryan Helmkamp", "bryan@brynary.com"
|
|
|
|
p.developer "Seth Fitzsimmons", "seth@mojodna.net"
|
|
|
|
|
2008-03-03 00:35:46 +00:00
|
|
|
p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
|
|
|
|
p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
|
|
|
|
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
|
2008-04-04 14:24:11 +00:00
|
|
|
|
|
|
|
p.extra_deps << ["hpricot", ">= 0.6"]
|
2008-03-03 00:35:46 +00:00
|
|
|
|
2008-03-03 00:55:50 +00:00
|
|
|
p.remote_rdoc_dir = '' # Release to root
|
2008-03-03 00:35:46 +00:00
|
|
|
p.test_globs = ['test/**/*_test.rb']
|
2008-03-02 20:14:52 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
desc "Upload rdoc to brynary.com"
|
2008-03-03 00:35:46 +00:00
|
|
|
task :publish_rdoc => :docs do
|
|
|
|
sh "scp -r doc/ brynary.com:/apps/uploads/webrat"
|
|
|
|
end
|
|
|
|
|
|
|
|
# desc 'Generate RDoc documentation for the Webrat plugin.'
|
|
|
|
# Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
|
|
# rdoc.options << '--line-numbers' << '--inline-source'
|
|
|
|
# rdoc.rdoc_files.include('README')
|
|
|
|
# rdoc.rdoc_files.include('lib/**/*.rb')
|
|
|
|
# end
|