You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

examples.rake 375 B

2 years ago
123456789101112131415
  1. # frozen_string_literal: true
  2. desc 'Run all examples'
  3. task :examples do
  4. Dir['examples/*'].each do |example_dir|
  5. next if !File.directory?(example_dir) || %w[examples/tcl].index(example_dir)
  6. puts "Running #{example_dir}"
  7. Dir.chdir(example_dir) do
  8. raise "No Rakefile in #{Dir.pwd}" unless File.file?('Rakefile')
  9. sh 'rake cucumber'
  10. end
  11. end
  12. end

No Description

Contributors (1)