aboutsummaryrefslogtreecommitdiff
path: root/bin/mauveconsole
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-07-22 16:55:01 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-07-22 16:55:01 +0100
commitfd23821950f0562a8995735105cd31fdc6d55933 (patch)
tree967df2f5647803a6c46f4d52003b2231c1de72cb /bin/mauveconsole
parentd3a3cfef9650b08f62db62bd7e86b673f9d77d0b (diff)
* Rejigged configuration
* Added --test and --verbose flags for the server config * Started proper test suite * Config parsing now gives more sensible errors + backtrace * Rejigged people and source lists
Diffstat (limited to 'bin/mauveconsole')
-rwxr-xr-xbin/mauveconsole3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/mauveconsole b/bin/mauveconsole
index d115642..c2d145f 100755
--- a/bin/mauveconsole
+++ b/bin/mauveconsole
@@ -77,6 +77,8 @@ end
require 'irb'
require 'thread'
+require 'mauve/configuration_builder'
+require 'mauve/configuration_builders'
require 'mauve/configuration'
Thread.abort_on_exception = true
@@ -85,6 +87,7 @@ include Mauve
begin
Configuration.current = ConfigurationBuilder.load(configuration_file)
+ Server.instance.setup
rescue StandardError => ex
error ex.message
end