Sha256: 4866525481ad7a5c5c163992d186636dc49a51fc4ce10551dd392089fc349e20

Contents?: true

Size: 391 Bytes

Versions: 96

Compression:

Stored size: 391 Bytes

Contents

desc 'Run all exmples'
task :examples do
  Dir['examples/*'].each do |example_dir|
    next if !File.directory?(example_dir) || %w{examples/i18n examples/tcl examples/python examples/ruby2python}.index(example_dir)
    puts "Running #{example_dir}"
    Dir.chdir(example_dir) do
      raise "No Rakefile in #{Dir.pwd}" unless File.file?('Rakefile')
      sh "rake cucumber"
    end
  end
end

Version data entries

96 entries across 92 versions & 11 rubygems

Version Path
cucumber-1.2.1 gem_tasks/examples.rake
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/examples.rake
ftl-0.2.0 vendor/bundle/gems/cucumber-1.2.0/gem_tasks/examples.rake
cucumber-1.2.0 gem_tasks/examples.rake
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/examples.rake
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/examples.rake
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/examples.rake
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/examples.rake
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/examples.rake
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/examples.rake
radiant-1.0.0 ruby-debug/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/examples.rake
cucumber-1.1.9 gem_tasks/examples.rake
cucumber-1.1.8 gem_tasks/examples.rake
cucumber-1.1.7 gem_tasks/examples.rake
cucumber-1.1.6 gem_tasks/examples.rake
cucumber-1.1.5 gem_tasks/examples.rake
cucumber-1.1.4 gem_tasks/examples.rake
cucumber-1.1.3 gem_tasks/examples.rake
cucumber-1.1.2 gem_tasks/examples.rake
cucumber-1.1.1 gem_tasks/examples.rake