mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-22 19:58:03 +00:00
12 lines
258 B
Ruby
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
|