method

upload

ruby latest stable - Class: SshFreshDirPublisher

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

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