Sha256: a0c9f60fa3e6008d9ed24620a39fc083b78fefe8246169114473a8c8ccf795ed

Contents?: true

Size: 547 Bytes

Versions: 40

Compression:

Stored size: 547 Bytes

Contents

module Rostra
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy Rostra config file"
      source_root File.expand_path('../templates', __FILE__)
      class_option :template_engine

      desc "Generate configuration file where you can set/override Rostra options"
      def copy_config
        directory 'config'
      end

      desc "Generate application helper file where you can set/override Rostra helper methods"
      def copy_application_helper
        directory 'app'
      end

    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
rostra-0.3.6 lib/generators/rostra/install_generator.rb
rostra-0.3.5 lib/generators/rostra/install_generator.rb
rostra-0.3.4 lib/generators/rostra/install_generator.rb
rostra-0.3.3 lib/generators/rostra/install_generator.rb
rostra-0.3.2 lib/generators/rostra/install_generator.rb
rostra-0.3.1 lib/generators/rostra/install_generator.rb
rostra-0.2.1 lib/generators/rostra/install_generator.rb
rostra-0.2.0 lib/generators/rostra/install_generator.rb
rostra-0.1.26 lib/generators/rostra/install_generator.rb
rostra-0.1.25 lib/generators/rostra/install_generator.rb
rostra-0.1.24 lib/generators/rostra/install_generator.rb
rostra-0.1.23 lib/generators/rostra/install_generator.rb
rostra-0.1.22 lib/generators/rostra/install_generator.rb
rostra-0.1.21 lib/generators/rostra/install_generator.rb
rostra-0.1.20 lib/generators/rostra/install_generator.rb
rostra-0.1.19 lib/generators/rostra/install_generator.rb
rostra-0.1.18 lib/generators/rostra/install_generator.rb
rostra-0.1.17 lib/generators/rostra/install_generator.rb
rostra-0.1.16 lib/generators/rostra/install_generator.rb
rostra-0.1.15 lib/generators/rostra/install_generator.rb