Sha256: 29e3a95c7f1c95f5f5912199b33b935a9fefa7e7c801ba1ee519b5b158c4dc47

Contents?: true

Size: 807 Bytes

Versions: 1

Compression:

Stored size: 807 Bytes

Contents

#!/usr/bin/env ruby

require 'reap/application'

HELP = <<-END
Usage: #{File.basename($0)} [options]

This tool publishes website files from a source directory
(deafult 'site') to a host provider (only Rubyforge for now).
The host must support RSync, which is used to upload the
files to the webserver.

    project    Name of (Rubyforge) project
    webdir     Relative directory on server to copy files (.)
    source     Local directory to get files (site/)
    username   Username (RUBYFORGE_USERNAME)

If the source directory does not contain an '.rysnc-filter'
file, a standard one will be genreated the first time the
command is run. You can then edit this file to add any 
upload exceptions you like.
END

if ARGV.include?('--help')
  puts HELP
else
  app = Reap::Application.new
  app.publish
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reap-9.4.0 bin/reap-publish