Sha256: 989af774784142b7689a2977ef20570c8c27ac6d417e658cc9b16f50da4cc8b6

Contents?: true

Size: 480 Bytes

Versions: 9

Compression:

Stored size: 480 Bytes

Contents

module ShopifyApp
  module Generators
    class ShopifyAppGenerator < Rails::Generators::Base

      def initialize(args, *options)
        @opts = options.first
        super(args, *options)
      end

      def run_all_generators
        generate "shopify_app:install #{@opts.join(' ')}"
        generate "shopify_app:shop_model"

        generate "shopify_app:controllers"
        generate "shopify_app:views"
        generate "shopify_app:routes"
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shopify_app-6.4.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-6.3.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-6.2.1 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-6.2.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-6.1.3 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-6.1.2 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-6.1.1 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-6.1.0 lib/generators/shopify_app/shopify_app_generator.rb
shopify_app-6.0.6 lib/generators/shopify_app/shopify_app_generator.rb