lib/kafo/kafo_configure.rb in kafo-0.0.11 vs lib/kafo/kafo_configure.rb in kafo-0.0.12

- old
+ new

@@ -13,19 +13,21 @@ class KafoConfigure < Clamp::Command include StringHelper attr_reader :logger class << self - attr_accessor :config, :root_dir, :config_file, :gem_root, :temp_config_file, :modules_dir + attr_accessor :config, :root_dir, :config_file, :gem_root, :temp_config_file, + :modules_dir, :kafo_modules_dir end def initialize(*args) self.class.config_file = config_file self.class.config = Configuration.new(self.class.config_file) self.class.root_dir = File.expand_path(self.class.config.app[:installer_dir]) modules_dir = self.class.config.app[:module_dir] || (self.class.config.app[:installer_dir] + '/modules') self.class.modules_dir = File.expand_path(modules_dir) self.class.gem_root = File.join(File.dirname(__FILE__), '../../') + self.class.kafo_modules_dir = self.class.config.app[:kafo_modules_dir] || (self.class.gem_root + '/modules') Logger.setup @logger = Logging.logger.root check_env super set_parameters