#!/usr/bin/env ruby require 'reap/application' HELP = <<-END Usage: #{File.basename($0)} [options] Generate packages. This command currently supports the following formats: zip, tgz and gem. Generated packages are stored in the conventional pkg/ directory. The types of packages generated can be specified via the format option. The defualt format setting includes all three types. format List of formats to generate. Almost any other piece of package metadata can be overridden via the command options. This command first runs the reap-prepare process, which includes reap-clean and reap-version. END if ARGV.include?('--help') puts HELP else app = Reap::Application.new app.package end