lib/buildbox.rb in buildbox-0.2.3 vs lib/buildbox.rb in buildbox-0.3
- old
+ new
@@ -6,10 +6,11 @@
autoload :Build, "buildbox/build"
autoload :Command, "buildbox/command"
autoload :CLI, "buildbox/cli"
autoload :Configuration, "buildbox/configuration"
autoload :Monitor, "buildbox/monitor"
+ autoload :Platform, "buildbox/platform"
autoload :Runner, "buildbox/runner"
autoload :Script, "buildbox/script"
autoload :Server, "buildbox/server"
autoload :UTF8, "buildbox/utf8"
autoload :Agent, "buildbox/agent"
@@ -19,9 +20,13 @@
@config ||= Configuration.new.tap(&:reload)
end
def self.logger
@logger ||= Logger.new(STDOUT).tap { |logger| logger.level = Logger::INFO }
+ end
+
+ def self.logger=(logger)
+ @logger = logger
end
def self.gem_root
path = File.expand_path(File.join(__FILE__, "..", ".."))
end