Class SshFreshDirPublisher |
|
Publish an entire directory to a fresh remote directory using SSH.
Methods |
Public Instance methods |
upload() |
# File lib/rake/contrib/publisher.rb, line 48 48: def upload 49: run %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil 50: run %{ssh #{@host} mkdir #{@remote_dir}} 51: super 52: end