mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
Remove --relative CLI option in favor of just turning on relative_assets in config.rb
This commit is contained in:
parent
ac9ae8fcee
commit
dc0249b8b9
1 changed files with 1 additions and 10 deletions
|
@ -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