Parent

Methods

Rake::SshDirPublisher

Publish an entire directory to an existing remote directory using SSH.

Public Class Methods

new(host, remote_dir, local_dir) click to toggle source
    # File lib/rake/contrib/sshpublisher.rb, line 10
10:     def initialize(host, remote_dir, local_dir)
11:       @host = host
12:       @remote_dir = remote_dir
13:       @local_dir = local_dir
14:     end

Public Instance Methods

upload() click to toggle source
    # File lib/rake/contrib/sshpublisher.rb, line 16
16:     def upload
17:       sh %{scp -rq #{@local_dir}/* #{@host}:#{@remote_dir}}
18:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.