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.
|
- # frozen_string_literal: true
-
- desc 'Run all examples'
- task :examples do
- Dir['examples/*'].each do |example_dir|
- next if !File.directory?(example_dir) || %w[examples/tcl].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
|