Sha256: fabb0b58d4935ad94c085f3512fe53da302f7aa34277a0ee350b51f91ff5b709

Contents?: true

Size: 360 Bytes

Versions: 9

Compression:

Stored size: 360 Bytes

Contents

module Cms; end

class Cms::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  desc "Overwrite the existing Rails application with the necessary files"

  def copy_files
    directory 'app', 'app'
    directory 'config', 'config'
    directory 'vendor', 'vendor'
    copy_file 'Gemfile', 'Gemfile'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_admin_cms-0.1.1 lib/generators/cms/install/install_generator.rb
rails_admin_cms-0.0.9 lib/generators/cms/install/install_generator.rb
rails_admin_cms-0.0.7 lib/generators/cms/install/install_generator.rb
rails_admin_cms-0.0.6 lib/generators/cms/install/install_generator.rb
rails_admin_cms-0.0.5 lib/generators/cms/install/install_generator.rb
rails_admin_cms-0.0.4 lib/generators/cms/install/install_generator.rb
rails_admin_cms-0.0.3 lib/generators/cms/install/install_generator.rb
rails_admin_cms-0.0.2 lib/generators/cms/install/install_generator.rb
rails_admin_cms-0.0.1 lib/generators/cms/install/install_generator.rb