18 lines
387 B
Ruby
18 lines
387 B
Ruby
libdir = File.dirname(__FILE__)
|
|
$:.unshift(libdir)
|
|
PROJECT_ROOT = File.join(libdir, '..')
|
|
|
|
require 'ostruct'
|
|
require 'ftools'
|
|
require 'logger'
|
|
require 'virtualbox'
|
|
require 'hobo/config'
|
|
require 'hobo/env'
|
|
require 'hobo/ssh'
|
|
require 'hobo/vm'
|
|
|
|
# TODO: Make this configurable
|
|
log_output = ENV['HOBO_ENV'] == 'test' ? nil : STDOUT
|
|
HOBO_LOGGER = Logger.new(log_output)
|
|
Hobo::Env.load_config
|