Class: Suspenders::CiGenerator
- Inherits:
-
Generators::Base
- Object
- Rails::Generators::Base
- Generators::Base
- Suspenders::CiGenerator
- Defined in:
- lib/suspenders/generators/ci_generator.rb
Instance Method Summary collapse
Methods inherited from Generators::Base
Methods included from Actions
#action_mailer_asset_host, #action_mailer_host, #configure_environment, #expand_json, #replace_in_file
Instance Method Details
#configure_ci ⇒ Object
5 6 7 8 9 10 |
# File 'lib/suspenders/generators/ci_generator.rb', line 5 def configure_ci template 'gitlab-ci.yml.erb', '.gitlab-ci.yml' template 'Dockerfile.gitlab.erb', 'Dockerfile.gitlab' copy_file 'database.gitlab.yml', 'config/database.gitlab.yml' copy_file 'dockerignore', '.dockerignore' end |