Methods

Rake::SshFreshDirPublisher

Publish an entire directory to a fresh remote directory using SSH.

Public Instance Methods

upload() click to toggle source
    # File lib/rake/contrib/sshpublisher.rb, line 23
23:     def upload
24:       sh %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil
25:       sh %{ssh #{@host} mkdir #{@remote_dir}}
26:       super
27:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.