Little bit cleaned up. Dry in rake tasks. Fix $LOAD_PATH
This commit is contained in:
parent
8292bc9899
commit
3a7848da9e
14 changed files with 22 additions and 43 deletions
|
@ -1,9 +1,5 @@
|
|||
# rubocop:disable FileName
|
||||
|
||||
# Setup our load paths
|
||||
libdir = File.expand_path(File.dirname(__FILE__))
|
||||
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
||||
|
||||
# Top-level Middleman namespace
|
||||
module Middleman
|
||||
# Backwards compatibility namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue