fix errant MM bootup during CLI. Make an autodiscoverable tasks/ directory
This commit is contained in:
parent
aeb9d10b25
commit
d1f0e6f616
5 changed files with 30 additions and 17 deletions
|
@ -85,10 +85,12 @@ module Middleman::Cli
|
|||
sess
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Set the root path to the Middleman::Base's root
|
||||
source_root(shared_instance.root)
|
||||
# Set the root path to the Middleman::Base's root
|
||||
def source_root
|
||||
shared_instance.root
|
||||
end
|
||||
end
|
||||
|
||||
# Ignore following method
|
||||
desc "", "", :hide => true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue