port guard vendored libs
This commit is contained in:
parent
20fea1bab1
commit
4ff52141df
26 changed files with 82 additions and 1592 deletions
|
@ -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}/, "")
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue