Sha256: f3caf954e9a1a1ce3833c9ef508a791ac6c08e217b3559ece36b13fb37ac9392

Contents?: true

Size: 417 Bytes

Versions: 4

Compression:

Stored size: 417 Bytes

Contents

require 'rails/generators'
require 'rails/generators/base'
module RecipesMatic
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      desc 'Copy recipes into project'
      source_root File.expand_path('../templates', __FILE__)

      def copy_deploy_file
        directory 'config/deploy', 'config/deploy'
        copy_file 'config/deploy.rb', 'config/deploy.rb'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
recipes_matic-1.1.0 lib/generators/recipes_matic/install_generator.rb
recipes_matic-1.0.0 lib/generators/recipes_matic/install_generator.rb
recipes_matic-0.2.0 lib/generators/recipes_matic/install_generator.rb
recipes_matic-0.1.0 lib/generators/recipes_matic/install_generator.rb