class SshFreshDirPublisher
Publish an entire directory to a fresh remote directory using SSH.
Public Instance Methods
Source
# File lib/rake/contrib/publisher.rb 46 def upload 47 run %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil 48 run %{ssh #{@host} mkdir #{@remote_dir}} 49 super 50 end
Calls superclass method
SshDirPublisher#upload