Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove old site generator

  • Loading branch information...
commit 705da270bb9419f7895b19721aebc3fb8aef109d 1 parent 7723b14
@radar radar authored
Showing with 0 additions and 18 deletions.
  1. +0 −18 lib/generators/spree/site/site_generator.rb
View
18 lib/generators/spree/site/site_generator.rb
@@ -1,18 +0,0 @@
-require 'rails/generators'
-require 'generators/spree/install/install_generator'
-
-module Spree
- class SiteGenerator < Rails::Generators::Base
- class_option :auto_accept, :type => :boolean, :default => false, :aliases => '-A', :desc => "Answer yes to all prompts"
-
- 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
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.