Class: Spree::SiteGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/spree/site/site_generator.rb

Instance Method Summary collapse

Instance Method Details

#run_install_generatorObject



8
9
10
11
12
13
14
15
16
# File 'lib/generators/spree/site/site_generator.rb', line 8

def run_install_generator
  if options[:auto_accept]
    Spree::InstallGenerator.start ["--auto-accept"]
  else
    Spree::InstallGenerator.start
  end

  puts ActiveSupport::Deprecation.warn "rails g spree:site has been deprecated and will be removed in the future, use rails g spree:install instead."
end