Class: Suspenders::Production::DeploymentGenerator
- Inherits:
-
Generators::Base
- Object
- Rails::Generators::Base
- Generators::Base
- Suspenders::Production::DeploymentGenerator
- Defined in:
- lib/suspenders/generators/production/deployment_generator.rb
Instance Method Summary collapse
Methods inherited from Generators::Base
default_source_root, inherited
Methods included from ExitOnFailure
Methods included from Actions
#action_mailer_asset_host, #action_mailer_host, #configure_environment, #expand_json, #gem, #replace_in_file
Instance Method Details
#copy_script ⇒ Object
6 7 8 9 |
# File 'lib/suspenders/generators/production/deployment_generator.rb', line 6 def copy_script copy_file "bin_deploy", "bin/deploy" chmod "bin/deploy", 0o755 end |
#inform_user ⇒ Object
11 12 13 |
# File 'lib/suspenders/generators/production/deployment_generator.rb', line 11 def inform_user append_template_to_file "README.md", "partials/deployment_readme.md" end |