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.4.2 | examples/i18n/Rakefile |
cucumber-0.4.1 | examples/i18n/Rakefile |