Sha256: 4457c34344ea7a3f89db597c74a25afb66493e0a5421101607a7587d3e5f1616

Contents?: true

Size: 550 Bytes

Versions: 22

Compression:

Stored size: 550 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{}.index(lang)
end

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

Version data entries

22 entries across 22 versions & 5 rubygems

Version Path
cucumber-0.6.4 examples/i18n/Rakefile
cucumber-0.6.3 examples/i18n/Rakefile
davidtrogers-cucumber-0.6.2 examples/i18n/Rakefile
cucumber-0.6.2 examples/i18n/Rakefile
cucumber-0.6.1 examples/i18n/Rakefile
cucumber-0.6.0 examples/i18n/Rakefile
cucumber-0.5.3 examples/i18n/Rakefile
cucumber-0.5.2 examples/i18n/Rakefile
cucumber-0.5.1 examples/i18n/Rakefile
cucumber-0.5.0 examples/i18n/Rakefile
cucumber-0.4.5.rc2 examples/i18n/Rakefile
kbaum-cucumber-0.4.5.pre examples/i18n/Rakefile
cucumber-0.4.5.rc1 examples/i18n/Rakefile
middleman-0.10.17 vendor/gems/gems/cucumber-0.4.4/examples/i18n/Rakefile
middleman-0.10.16 vendor/gems/gems/cucumber-0.4.4/examples/i18n/Rakefile
middleman-0.10.15 vendor/gems/gems/cucumber-0.4.4/examples/i18n/Rakefile
rackjour-0.1.8 vendor/gems/gems/cucumber-0.4.4/examples/i18n/Rakefile
middleman-0.10.14 vendor/gems/gems/cucumber-0.4.4/examples/i18n/Rakefile
cucumber-0.4.4 examples/i18n/Rakefile
cucumber-0.4.3 examples/i18n/Rakefile