method
upload
v1_9_3_392 -
Show latest stable
- Class:
Rake::SshFreshDirPublisher
upload()public
No documentation available.
# File lib/rake/contrib/sshpublisher.rb, line 24
def upload
sh %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil
sh %{ssh #{@host} mkdir #{@remote_dir}}
super
end