port guard vendored libs

This commit is contained in:
Thomas Reynolds 2012-01-02 14:22:24 -08:00
parent 20fea1bab1
commit 4ff52141df
26 changed files with 82 additions and 1592 deletions

View file

@ -93,7 +93,7 @@ module Middleman::Cli
# @param [String] destination
# @param [Hash] config
# @return [String] the actual destination file path that was created
desc "private method", :hide => true
desc "", "", :hide => true
def tilt_template(source, destination, config={})
build_dir = self.class.shared_instance.build_dir
request_path = destination.sub(/^#{build_dir}/, "")

View file

@ -13,10 +13,10 @@ module Middleman::Cli
:default => ENV['MM_ENV'] || ENV['RACK_ENV'] || 'development',
:desc => "The environment Middleman will run under"
method_option :host,
:type => :string,
:type => :string,
:aliases => "-h",
:default => "0.0.0.0",
:desc => "Bind to HOST address"
:desc => "Bind to HOST address"
method_option :port,
:aliases => "-p",
:default => "4567",