Sha256: f7c9a4ad5c1a79340130a533edd6e6d5d361f222d7da648030ac18cb83074d74

Contents?: true

Size: 378 Bytes

Versions: 13

Compression:

Stored size: 378 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/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

13 entries across 13 versions & 3 rubygems

Version Path
cucumber-0.8.7 gem_tasks/examples.rake
stefl-cucumber-0.10.1 gem_tasks/examples.rake
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/examples.rake
vim-jar-0.1.2 bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/examples.rake
vim-jar-0.1.1 bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/examples.rake
vim-jar-0.1.0 bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/examples.rake
cucumber-0.10.0 gem_tasks/examples.rake
cucumber-0.9.4 gem_tasks/examples.rake
cucumber-0.9.3 gem_tasks/examples.rake
cucumber-0.9.2 gem_tasks/examples.rake
cucumber-0.9.1 gem_tasks/examples.rake
cucumber-0.9.0 gem_tasks/examples.rake
cucumber-0.8.5 gem_tasks/examples.rake