1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/Rakefile

40 lines
1 KiB
Text
Raw Normal View History

2009-11-04 17:00:05 -05:00
require 'rubygems'
gem 'hoe', '>= 2.1.0'
require 'hoe'
require 'fileutils'
2009-11-16 16:02:16 -05:00
require './lib/capybara'
2009-11-04 17:00:05 -05:00
Hoe.plugin :newgem
# Hoe.plugin :website
# Hoe.plugin :cucumberfeatures
# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
2009-11-16 16:02:16 -05:00
$hoe = Hoe.spec 'capybara' do
2009-11-04 17:00:05 -05:00
self.developer 'Jonas Nicklas', 'jonas.nicklas@gmail.com'
2009-11-15 17:21:21 -05:00
self.rubyforge_name = self.name # TODO this is default value
self.readme_file = 'README.rdoc'
self.extra_rdoc_files = ['README.rdoc']
2009-11-04 17:00:05 -05:00
2009-11-15 17:21:21 -05:00
self.extra_deps = [
['nokogiri', '>= 1.3.3'],
2009-11-24 15:28:44 -05:00
['culerity', '>= 0.2.4'],
2009-11-16 16:07:46 -05:00
['selenium-webdriver', '>= 0.0.3'],
['rack', '>= 1.0.0'],
['rack-test', '>= 0.5.2'],
2009-11-16 16:07:46 -05:00
['database_cleaner', '>= 0.2.3']
2009-11-15 17:21:21 -05:00
]
self.extra_dev_deps = [
['sinatra', '>= 0.9.4'],
['rspec', '>= 1.2.9']
]
2009-11-04 17:00:05 -05:00
end
require 'newgem/tasks'
Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
# remove_task :default
# task :default => [:spec, :features]