Skip to content
Browse files

Remove old site generator

  • Loading branch information...
1 parent 7723b14 commit 705da270bb9419f7895b19721aebc3fb8aef109d @radar radar committed
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

0 comments on commit 705da27

Please sign in to comment.
Something went wrong with that request. Please try again.