Make config extensible
This commit is contained in:
parent
cea2b22c9b
commit
740af47bd3
2 changed files with 8 additions and 1 deletions
|
@ -7,7 +7,12 @@ require "pathname"
|
|||
|
||||
Dir.chdir Pathname.new(__FILE__).realpath + "../.."
|
||||
|
||||
# Load local config if it exists.
|
||||
# Load custom config.
|
||||
|
||||
load File.expand_path "../boxen.rb", __FILE__
|
||||
|
||||
# Load local config if it exists. This file is ignored by Git, and can
|
||||
# be used for personal config.
|
||||
|
||||
local = File.expand_path "../local.rb", __FILE__
|
||||
load local if File.file? local
|
||||
|
|
2
config/boxen.rb
Normal file
2
config/boxen.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
# This file will be loaded by config/basic early in a Boxen run. Use
|
||||
# it to provide any custom code or behavior your Boxen setup requires.
|
Loading…
Reference in a new issue