mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Deprecate capistrano/rake integration in favor of invoking `cap' directly
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@5778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
715b5a55fa
commit
13f88e3584
2 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Deprecate rake integration in favor of invoking `cap' directly
|
||||
|
||||
* Make sure the CVS module references the repository explicitly in cvs_log [weyus@att.net]
|
||||
|
||||
* Remove trace messages when loading a file
|
||||
|
|
|
@ -12,6 +12,9 @@ def cap(*parameters)
|
|||
|
||||
require 'capistrano/cli'
|
||||
|
||||
STDERR.puts "Capistrano/Rake integration is deprecated."
|
||||
STDERR.puts "Please invoke the 'cap' command directly: `cap #{parameters.join(" ")}'"
|
||||
|
||||
Capistrano::CLI.new(parameters.map { |param| param.to_s }).execute!
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue