Class: Cch::Setup
- Inherits:
-
Object
- Object
- Cch::Setup
- Defined in:
- lib/cch/setup.rb
Constant Summary collapse
- LOCAL_CONFIG_FILE =
'.cchfile.rb'.freeze
- CONFIG_FILES =
%w(watchers runners).freeze
Instance Method Summary collapse
Instance Method Details
#configure ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/cch/setup.rb', line 6 def configure CONFIG_FILES.each do |file| require "cch/config/#{file}" end generate_local_config unless File.exist?(LOCAL_CONFIG_FILE) load(LOCAL_CONFIG_FILE, true) end |