Class: GeoserverMigrations::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- GeoserverMigrations::Generators::InstallGenerator
- Defined in:
- lib/generators/geoserver_migrations/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_config_file ⇒ Object
8 9 10 |
# File 'lib/generators/geoserver_migrations/install/install_generator.rb', line 8 def copy_config_file copy_file "geoserver_migrations_config.yml", "config/geoserver_migrations_config.yml" end |
#create_migrations_folder ⇒ Object
12 13 14 15 16 |
# File 'lib/generators/geoserver_migrations/install/install_generator.rb', line 12 def create_migrations_folder # empty_directory "geoserver", "migrate" empty_directory "geoserver/migrate" empty_directory "geoserver/migrate/assets" end |