From 1a53bf2f45e4f9391c979c7f7be378a63e289d2d Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Sun, 11 Sep 2005 19:35:22 +0000 Subject: [PATCH] Fix switchtower deployment generator to use lib/tasks instead of config/tasks git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../generators/rails/deployment/deployment_generator.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/switchtower/generators/rails/deployment/deployment_generator.rb b/lib/switchtower/generators/rails/deployment/deployment_generator.rb index 44c91392..b81c5e3e 100644 --- a/lib/switchtower/generators/rails/deployment/deployment_generator.rb +++ b/lib/switchtower/generators/rails/deployment/deployment_generator.rb @@ -10,9 +10,10 @@ class DeploymentGenerator < Rails::Generator::NamedBase record do |m| m.directory "script" m.file "switchtower", File.join("script", "switchtower") - m.directory "config/tasks" + m.directory "config" m.template "deploy.rb", File.join("config", "#{recipe_file}.rb") - m.template "switchtower.rake", File.join("config", "tasks", "switchtower.rake") + m.directory "lib/tasks" + m.template "switchtower.rake", File.join("lib", "tasks", "switchtower.rake") end end