method
upload
v2_1_10 -
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