Sha256: 856d75b7a226ac7f94f25280a1a4c2c74d63312538ea6f22082252746be1171c

Contents?: true

Size: 570 Bytes

Versions: 1

Compression:

Stored size: 570 Bytes

Contents

require 'bundler'
require 'cucumber/rake/task'

Bundler::GemHelper.install_tasks
Cucumber::Rake::Task.new

task :default do
  versions = nil

  cd('features/support/public') do
   versions = Dir['jquery/*.js'].product(Dir['jquery-ui/*.js'])
  end

  versions.each do |jquery, jquery_ui|
    ln_s jquery,    'features/support/public/jquery.js',    :force => true
    ln_s jquery_ui, 'features/support/public/jquery-ui.js', :force => true
    ln_s jquery_ui.sub('.js', '.css'), 'features/support/public/jquery-ui.css', :force => true
    task(:cucumber).execute
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bermuda-0.0.4 Rakefile