1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/features/support/env.rb
2016-02-28 17:56:07 -06:00

11 lines
318 B
Ruby

PROJECT_ROOT = File.expand_path("../../../", __FILE__)
VAGRANT_ROOT = File.join(PROJECT_ROOT, "spec/support")
VAGRANT_BIN = ENV["VAGRANT_BIN"] || "vagrant"
at_exit do
if ENV["KEEP_RUNNING"]
VagrantHelpers.run_vagrant_command("rm -rf /home/vagrant/var")
end
end
require_relative "../../spec/support/test_app"