class SshFreshDirPublisher
:nodoc: all
Publish an entire directory to a fresh remote directory using SSH.
–
TODO: Remove in Rake 11, duplicated
def upload
Publish an entire directory to a fresh remote directory using SSH.
--
TODO: Remove in Rake 11, duplicated
def upload run %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil run %{ssh #{@host} mkdir #{@remote_dir}} super end