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-2.99.0 gem_tasks/examples.rake
mobiusloop-0.1.5 gem_tasks/examples.rake
cucumber-2.4.0 gem_tasks/examples.rake
mobiusloop-0.1.3 gem_tasks/examples.rake
mobiusloop-0.1.2 gem_tasks/examples.rake
cucumber-2.3.3 gem_tasks/examples.rake
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/gem_tasks/examples.rake
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/gem_tasks/examples.rake
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/gem_tasks/examples.rake
cucumber-2.3.2 gem_tasks/examples.rake
cucumber-2.3.1 gem_tasks/examples.rake
cucumber-2.3.0 gem_tasks/examples.rake
cucumber-2.2.0 gem_tasks/examples.rake
cucumber-2.1.0 gem_tasks/examples.rake
cucumber-2.0.2 gem_tasks/examples.rake
cucumber-2.0.1 gem_tasks/examples.rake
cucumber-1.3.20 gem_tasks/examples.rake
cucumber-2.0.0 gem_tasks/examples.rake
cucumber-2.0.0.rc.5 gem_tasks/examples.rake
cucumber-1.3.19 gem_tasks/examples.rake