Browse files

deploy:symlink display a warning before calling deploy:create_symlink

  • Loading branch information...
1 parent abfc24c commit d1312ed727491f304005589f0ada221dd29cbac6 @gido gido committed Apr 2, 2013
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/railsless-deploy.rb
View
10 lib/railsless-deploy.rb
@@ -246,6 +246,16 @@ def try_runner(*args)
end
desc <<-DESC
+ Deprecated. Use `deploy:create_symlink` instead.
+ DESC
+ task :symlink, :except => { :no_release => true } do
+ warn "[Deprecation Warning] This API has changed, please use `deploy:create_symlink` instead of" \
+ " `deploy:symlink`."
+
+ create_symlink
+ end
+
+ desc <<-DESC
Copy files to the currently deployed version. This is useful for updating \
files piecemeal, such as when you need to quickly deploy only a single \
file. Some files, such as updated templates, images, or stylesheets, \

0 comments on commit d1312ed

Please sign in to comment.