fix errant MM bootup during CLI. Make an autodiscoverable tasks/ directory

This commit is contained in:
Thomas Reynolds 2012-01-16 14:55:08 -08:00
parent aeb9d10b25
commit d1f0e6f616
5 changed files with 30 additions and 17 deletions

View file

@ -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