Sha256: 139935eeb4584b2192752ae453ec9667cfab8cc64fe98fa2703c7ea1a02048fd

Contents?: true

Size: 521 Bytes

Versions: 4

Compression:

Stored size: 521 Bytes

Contents

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

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

4 entries across 4 versions & 1 rubygems

Version Path
hackboxen-0.1.3 lib/hackboxen.rb
hackboxen-0.1.2 lib/hackboxen.rb
hackboxen-0.1.1 lib/hackboxen.rb
hackboxen-0.1.0 lib/hackboxen.rb