Remove --relative CLI option in favor of just turning on relative_assets in config.rb
This commit is contained in:
parent
ac9ae8fcee
commit
dc0249b8b9
|
@ -16,16 +16,11 @@ module Middleman::Cli
|
|||
namespace :build
|
||||
|
||||
desc "build [options]", "Builds the static site for deployment"
|
||||
method_option :relative,
|
||||
:type => :boolean,
|
||||
:aliases => "-r",
|
||||
:default => false,
|
||||
:desc => 'Force relative urls'
|
||||
method_option :clean,
|
||||
:type => :boolean,
|
||||
:aliases => "-c",
|
||||
:default => false,
|
||||
:desc => 'Removes orpahand files or directories from build'
|
||||
:desc => 'Removes orphaned files or directories from build'
|
||||
method_option :glob,
|
||||
:type => :string,
|
||||
:aliases => "-g",
|
||||
|
@ -46,10 +41,6 @@ module Middleman::Cli
|
|||
|
||||
self.class.shared_instance(options["verbose"] || false)
|
||||
|
||||
if options.has_key?("relative") && options["relative"]
|
||||
self.class.shared_instance.activate :relative_assets
|
||||
end
|
||||
|
||||
self.class.shared_rack
|
||||
|
||||
opts = {}
|
||||
|
|
Loading…
Reference in a new issue