Sha256: 6c098dba7cd45522b75d5992c896d8bbe5276da9943837ebf8c20f80be1896fd

Contents?: true

Size: 552 Bytes

Versions: 29

Compression:

Stored size: 552 Bytes

Contents

desc 'Run features for all languages'
task :i18n do
  dir = File.dirname(__FILE__)
  Dir["#{dir}/*"].each do |f|
    if File.directory?(f)
      lang = f[dir.length+1..-1]
      if examples_working?(lang)
        Dir.chdir(f) do
          rake("cucumber")
        end
      else
        STDERR.puts %{
!!!!!
!!!!!
!!!!! SKIPPING #{lang} (The examples are out of date - please help update them)
!!!!!
!!!!!
}
      end
    end
  end
end

task :default => :i18n

def examples_working?(lang)
  !%w{ro}.index(lang)
end

def rake(args)
  ruby($0, args)
end

Version data entries

29 entries across 29 versions & 5 rubygems

Version Path
aslakhellesoy-cucumber-0.3.100 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.101.2 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.101 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.102.1 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.102.2 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.102 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.103 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.104 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.97 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.98 examples/i18n/Rakefile
aslakhellesoy-cucumber-0.3.99 examples/i18n/Rakefile
dwaite-cucumber-0.3.101 examples/i18n/Rakefile
engineyard-cucumber-0.3.101 examples/i18n/Rakefile
kosmas58-cucumber-0.3.100 examples/i18n/Rakefile
kosmas58-cucumber-0.3.102 examples/i18n/Rakefile
kosmas58-cucumber-0.3.103 examples/i18n/Rakefile
kosmas58-cucumber-0.3.97 examples/i18n/Rakefile
kosmas58-cucumber-0.3.98 examples/i18n/Rakefile
kosmas58-cucumber-0.3.99 examples/i18n/Rakefile
cucumber-0.4.0 examples/i18n/Rakefile