Class: Suspenders::CiGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Suspenders::CiGenerator
- Defined in:
- lib/suspenders/generators/ci_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_database_yml_for_gitlab ⇒ Object
13 14 15 |
# File 'lib/suspenders/generators/ci_generator.rb', line 13 def copy_database_yml_for_gitlab copy_file 'database.gitlab.yml', 'config/database.gitlab.yml' end |
#setup_gitlab_ci ⇒ Object
9 10 11 |
# File 'lib/suspenders/generators/ci_generator.rb', line 9 def setup_gitlab_ci template 'gitlab-ci.yml.erb', '.gitlab-ci.yml' end |