class Rake::SshFreshDirPublisher
Publish an entire directory to a fresh remote directory using SSH.
Public Instance Methods
Source
# File lib/rake/contrib/sshpublisher.rb 21 def upload 22 sh %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil 23 sh %{ssh #{@host} mkdir #{@remote_dir}} 24 super 25 end
Calls superclass method
Rake::SshDirPublisher#upload