Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (44 sloc) 1.45 kB
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.version = "0.1.3"
gem.name = "aruba"
gem.summary = %Q{CLI Steps for Cucumber}
gem.description = %Q{CLI Steps for Cucumber, hand-crafted for you in Aruba}
gem.email = "cukes@groups.google.com"
gem.homepage = "http://github.com/aslakhellesoy/aruba"
gem.authors = ["Aslak Hellesøy", "David Chelimsky"]
gem.add_development_dependency "rspec", ">= 1.3.0"
gem.add_development_dependency "cucumber", ">= 0.6.2"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
begin
require 'cucumber/rake/task'
namespace :cucumber do
Cucumber::Rake::Task.new(:pass) do |t|
t.cucumber_opts = '--tags ~@fail'
end
Cucumber::Rake::Task.new(:fail) do |t|
t.cucumber_opts = '--tags @fail --wip'
end
end
task :cucumber => [:check_dependencies, 'cucumber:pass', 'cucumber:fail']
rescue LoadError
task :cucumber do
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
end
end
task :default => :cucumber
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "aruba #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
Jump to Line
Something went wrong with that request. Please try again.