Sha256: 1ac259eff460ad817163d46788296dcd30db860573ce564b9a758248bc9b9413

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 Bytes

Contents

INCLUDING_FILE = caller[2].gsub(/:.*$/, '') unless defined?(INCLUDING_FILE)

require 'rake'
require 'swineherd'
require 'configliere'
require 'json'
require 'hackboxen/utils'
require 'hackboxen/tasks'

machine_cfg = "/etc/hackbox/hackbox.yaml"
user_cfg    = File.join(ENV['HOME'], '.hackbox/hackbox.yaml')
hackbox_cfg = File.join(HackBoxen.find_root_dir, 'config/config.yaml')

WorkingConfig.read machine_cfg if File.exists? machine_cfg
WorkingConfig.read user_cfg    if File.exists? user_cfg
WorkingConfig.read hackbox_cfg if File.exists? hackbox_cfg

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hackboxen-0.1.5 lib/hackboxen.rb
hackboxen-0.1.4 lib/hackboxen.rb