Files
SecGen/lib/vagrant.rb
2016-03-08 22:42:19 +00:00

12 lines
258 B
Ruby

require_relative 'filecreator.rb'
class VagrantController
def vagrant_up(build_number)
#executes vagrant up from the current build.
puts 'Building now.....'
command = "cd #{PROJECTS_DIR}/Project#{build_number}/; vagrant up"
exec command
end
end