Sha256: 015f26f1282fd71443ccdaf74d16fcfc98605319de63a0fe15308a3be2febb4a

Contents?: true

Size: 1.25 KB

Versions: 68

Compression:

Stored size: 1.25 KB

Contents

# -*- ruby -*-

require 'rubygems'
require 'hoe'

$:.unshift "lib"
require 'trollop'

class Hoe
  def extra_dev_deps; @extra_dev_deps.reject { |x| x[0] == "hoe" } end
end

Hoe.new('trollop', Trollop::VERSION) do |p|
  p.rubyforge_name = 'trollop'
  p.author = "William Morgan"
  p.summary = "Trollop is a commandline option parser for Ruby that just gets out of your way. One line of code per option is all you need to write. For that, you get a nice automatically-generated help page, robust option parsing, command subcompletion, and sensible defaults for everything you don't specify."
  p.description = p.paragraphs_of('README.txt', 4..5, 9..18).join("\n\n").gsub(/== SYNOPSIS/, "Synopsis")
  p.url = "http://trollop.rubyforge.org"
  p.changes = p.paragraphs_of('History.txt', 0..0).join("\n\n")
  p.email = "wmorgan-trollop@masanjin.net"
end

WWW_FILES = FileList["www/*"] + %w(README.txt FAQ.txt)
task :upload_webpage => WWW_FILES do |t|
  sh "rsync -Paz -essh #{t.prerequisites * ' '} wmorgan@rubyforge.org:/var/www/gforge-projects/trollop/"
end

task :rdoc do |t|
  sh "rdoc lib README.txt History.txt -m README.txt"
end

task :upload_docs => :rdoc do |t|
  sh "rsync -az -essh doc/* wmorgan@rubyforge.org:/var/www/gforge-projects/trollop/trollop/"
end

# vim: syntax=ruby

Version data entries

68 entries across 68 versions & 6 rubygems

Version Path
auser-poolparty-1.2.10 vendor/gems/trollop/Rakefile
auser-poolparty-1.2.11 vendor/gems/trollop/Rakefile
auser-poolparty-1.2.12 vendor/gems/trollop/Rakefile
auser-poolparty-1.2.3 vendor/gems/trollop/Rakefile
auser-poolparty-1.2.4 vendor/gems/trollop/Rakefile
auser-poolparty-1.2.7 vendor/gems/trollop/Rakefile
auser-poolparty-1.2.8 vendor/gems/trollop/Rakefile
auser-poolparty-1.2.9 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.0 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.10 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.11 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.12 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.13 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.14 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.15 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.16 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.17 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.2 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.3 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.4 vendor/gems/trollop/Rakefile