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