class HerokuRailsDeployGenerator
Public Instance Methods
create_config_file()
click to toggle source
# 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()
click to toggle source
# 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