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.3.5 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.6 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.7 vendor/gems/trollop/Rakefile
auser-poolparty-1.3.8 vendor/gems/trollop/Rakefile
fairchild-poolparty-1.2.12 vendor/gems/trollop/Rakefile
fairchild-poolparty-1.3.17 vendor/gems/trollop/Rakefile
fairchild-poolparty-1.3.5 vendor/gems/trollop/Rakefile
jashmenn-git-style-binaries-0.1.10 vendor/gems/trollop/Rakefile
jashmenn-git-style-binaries-0.1.9 vendor/gems/trollop/Rakefile
monkeyshines-0.2.3 lib/monkeyshines/utils/trollop-1.14/Rakefile
monkeyshines-0.2.2 lib/monkeyshines/utils/trollop-1.14/Rakefile
poolparty-1.6.9 vendor/gems/trollop/Rakefile
poolparty-1.6.8 vendor/gems/trollop/Rakefile
poolparty-1.6.7 vendor/gems/trollop/Rakefile
poolparty-1.6.6 vendor/gems/trollop/Rakefile
poolparty-1.6.5 vendor/gems/trollop/Rakefile
poolparty-1.6.4 vendor/gems/trollop/Rakefile
poolparty-1.6.3 vendor/gems/trollop/Rakefile
poolparty-1.6.2 vendor/gems/trollop/Rakefile
poolparty-1.6.1 vendor/gems/trollop/Rakefile