Sha256: 8eb953832cbb7bf06094a8aa7a7601ad48c6f9bb1cc6a531d2e6b3a52f70be3f
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.version = "0.1.4" 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aruba-0.1.4 | Rakefile |