Sha256: 12950f55d55fa2f46b5b4b30d751d02d8ee747961464b6ccf8dd9dff4efcac76

Contents?: true

Size: 546 Bytes

Versions: 4

Compression:

Stored size: 546 Bytes

Contents

require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |task|
  task.rspec_opts = '--format documentation --color --require spec_helper'
end

desc 'Create Vagrant VM (required for running the tests)'
task :create_vm do
  ENV['VAGRANT_CWD'] = File.expand_path('spec/support')
  p `vagrant up`
end

desc "Destroy Vagrant VM (once you're done with testing)"
task :destroy_vm do
  ENV['VAGRANT_CWD'] = File.expand_path('spec/support')
  p `vagrant destroy -f`
end

task default: :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-ssh-2.1.0 Rakefile
vagrant-ssh-2.0.0 Rakefile
vagrant-ssh-1.0.2 Rakefile
vagrant-ssh-1.0.1 Rakefile