Skip to content

Commit

Permalink
vagabond:full_spec rake task for destroy, up, provision, and spec run
Browse files Browse the repository at this point in the history
  • Loading branch information
wfarr committed Sep 7, 2011
1 parent 489b3fb commit d9d2dc2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Rakefile
Expand Up @@ -3,6 +3,15 @@ require 'vagrant'


namespace :vagabond do
task :full_spec => [:cleanup, :spec]

desc "Remove existing vagrant vm"
task :cleanup do
env = Vagrant::Environment.new
puts "vagrant destroy"
env.cli("destroy")
end

desc "Run specs on vagabond"
task :spec do
env = Vagrant::Environment.new
Expand Down

0 comments on commit d9d2dc2

Please sign in to comment.