vagrant/lib/hobo.rb

18 lines
387 B
Ruby
Raw Normal View History

2010-01-22 05:54:23 +00:00
libdir = File.dirname(__FILE__)
$:.unshift(libdir)
2010-01-22 07:38:23 +00:00
PROJECT_ROOT = File.join(libdir, '..')
2010-01-22 05:54:23 +00:00
require 'ostruct'
2010-01-22 07:38:23 +00:00
require 'ftools'
2010-01-22 07:52:10 +00:00
require 'logger'
require 'virtualbox'
2010-01-22 05:54:23 +00:00
require 'hobo/config'
2010-01-22 07:38:23 +00:00
require 'hobo/env'
2010-01-26 08:01:17 +00:00
require 'hobo/ssh'
require 'hobo/vm'
2010-01-22 07:52:10 +00:00
# TODO: Make this configurable
log_output = ENV['HOBO_ENV'] == 'test' ? nil : STDOUT
HOBO_LOGGER = Logger.new(log_output)
2010-01-26 08:01:17 +00:00
Hobo::Env.load_config