Commit 6033e94d87f59d1a6a5464b8634359ddce707dda
1 parent
ae16a8376f
Nah, don't require plain boxen
Showing 1 changed file with 0 additions and 4 deletions Inline Diff
config/basic.rb
# Set up the execution environment. Load this file before trying to do | 1 | 1 | # Set up the execution environment. Load this file before trying to do | |
# anything else. This file assumes that the repo's been bootstrapped. | 2 | 2 | # anything else. This file assumes that the repo's been bootstrapped. | |
3 | 3 | |||
require "pathname" | 4 | 4 | require "pathname" | |
5 | 5 | |||
# Make sure we're in the repo's root directory. | 6 | 6 | # Make sure we're in the repo's root directory. | |
7 | 7 | |||
Dir.chdir Pathname.new(__FILE__).realpath + "../.." | 8 | 8 | Dir.chdir Pathname.new(__FILE__).realpath + "../.." | |
9 | 9 | |||
# Load custom config. | 10 | 10 | # Load custom config. | |
11 | 11 | |||
load File.expand_path "../boxen.rb", __FILE__ | 12 | 12 | load File.expand_path "../boxen.rb", __FILE__ | |
13 | 13 | |||
# Load local config if it exists. This file is ignored by Git, and can | 14 | 14 | # Load local config if it exists. This file is ignored by Git, and can | |
# be used for personal config. | 15 | 15 | # be used for personal config. | |
16 | 16 | |||
local = File.expand_path "../local.rb", __FILE__ | 17 | 17 | local = File.expand_path "../local.rb", __FILE__ | |
load local if File.file? local | 18 | 18 | load local if File.file? local | |
19 | 19 |