Merge branch 'master' into runners to add nice file requiring in vagrant.rb
This commit is contained in:
commit
0864d7c2d3
|
@ -2,21 +2,13 @@ libdir = File.dirname(__FILE__)
|
|||
$:.unshift(libdir)
|
||||
PROJECT_ROOT = File.join(libdir, '..')
|
||||
|
||||
require 'ftools'
|
||||
require 'json'
|
||||
require 'pathname'
|
||||
require 'logger'
|
||||
require 'virtualbox'
|
||||
require 'net/ssh'
|
||||
require 'net/scp'
|
||||
require 'tarruby'
|
||||
require 'fileutils'
|
||||
require 'vagrant/busy'
|
||||
require 'vagrant/util'
|
||||
require 'vagrant/commands'
|
||||
require 'vagrant/config'
|
||||
require 'vagrant/env'
|
||||
require 'vagrant/provisioning'
|
||||
require 'vagrant/ssh'
|
||||
require 'vagrant/vm'
|
||||
require 'vagrant/actions/base'
|
||||
# The libs which must be loaded prior to the rest
|
||||
%w{ftools json pathname logger virtualbox net/ssh
|
||||
net/scp tarruby fileutils vagrant/util}.each do |f|
|
||||
require f
|
||||
end
|
||||
|
||||
# Glob require the rest
|
||||
Dir[File.join(PROJECT_ROOT, "lib", "vagrant", "**", "*.rb")].each do |f|
|
||||
require f
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue