Class: HerokuRailsDeployGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- HerokuRailsDeployGenerator
- Defined in:
- lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_config_file ⇒ Object
6 7 8 |
# File 'lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb', line 6 def create_config_file template('heroku.yml', 'config/heroku.yml') end |
#create_executable_file ⇒ Object
10 11 12 13 |
# File 'lib/generators/heroku_rails_deploy/heroku_rails_deploy_generator.rb', line 10 def create_executable_file template('deploy', 'bin/deploy') chmod('bin/deploy', 0755) end |