Sha256: 1d1768d110a71caae55503e6ad20b99650e0df65b498913e11d3f1dfbd001019
Contents?: true
Size: 422 Bytes
Versions: 3
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cucumber-3.0.1 | gem_tasks/examples.rake |
cucumber-3.0.0 | gem_tasks/examples.rake |
cucumber-3.0.0.pre.2 | gem_tasks/examples.rake |