From 3d4a32377651a13575ce6da84875af764fdbe339 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Wed, 3 Aug 2005 15:02:31 +0000 Subject: Add integration with SwitchTower (rake tasks, default deploy.rb recipe) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../lib/rails_generator/generators/applications/app/app_generator.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'railties/lib/rails_generator/generators') diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index 7750d563d3..d5e932ac1d 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -34,6 +34,7 @@ class AppGenerator < Rails::Generator::Base # database.yml and .htaccess m.template "configs/database.yml", "config/database.yml" m.template "configs/routes.rb", "config/routes.rb" + m.template "configs/deploy.rb", "config/deploy.rb" m.template "configs/apache.conf", "public/.htaccess" # Environments @@ -48,8 +49,10 @@ class AppGenerator < Rails::Generator::Base end if options[:gem] m.file "bin/breakpointer_for_gem", "script/breakpointer", script_options + m.file "bin/switchtower_for_gem", "script/switchtower", script_options else m.file "bin/breakpointer", "script/breakpointer", script_options + m.file "bin/switchtower", "script/switchtower", script_options end # Dispatches -- cgit v1.2.3