1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

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
This commit is contained in:
Jamis Buck 2005-09-11 19:35:22 +00:00
parent 24640dd9a8
commit 1a53bf2f45

View file

@ -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