Sha256: 3baba83c9fca45a71ea45b30f750c8f372fd56df91b44b48ec2bebe0aca694d4

Contents?: true

Size: 615 Bytes

Versions: 14

Compression:

Stored size: 615 Bytes

Contents

require 'bundler'
require 'cucumber/rake/task'
Bundler::GemHelper.install_tasks

namespace :features do
  desc 'Downloads and adds vagrant box for testing.'
  task(:bootstrap) do
    system('bundle exec vagrant box add vagrant_exec http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box')
  end

  Cucumber::Rake::Task.new(:run) do |t|
    t.cucumber_opts = %w(--format pretty)
  end

  desc 'Removes testing vagrant box.'
  task(:cleanup) do
    system('bundle exec vagrant destroy -f')
    system('bundle exec vagrant box remove vagrant_exec virtualbox')
  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
vagrant-fractal-0.1.7 Rakefile
vagrant-environments-0.1.7 Rakefile
vagrant-environments-0.1.6 Rakefile
vagrant-environments-0.1.5 Rakefile
vagrant-environments-0.1.4 Rakefile
vagrant-environments-0.1.3 Rakefile
vagrant-environments-0.1.2 Rakefile
vagrant-environments-0.1.1 Rakefile
vagrant-environments-0.1.0 Rakefile
vagrant-exec-0.5.0 Rakefile
vagrant-exec-0.4.1 Rakefile
vagrant-exec-0.3.1 Rakefile
vagrant-exec-0.3.0 Rakefile
vagrant-exec-0.2.1 Rakefile