Sha256: 81633a7f574effce2a5ff89aafcf8ff3073085168dea44e4081c9c1319c5fbac
Contents?: true
Size: 1.03 KB
Versions: 5
Compression:
Stored size: 1.03 KB
Contents
# -*- ruby -*- require 'rubygems' require 'hoe' require 'trollop' class Hoe def extra_deps; @extra_deps.reject { |x| Array(x).first == "hoe" } end end # thanks to "Mike H" Hoe.new('trollop', Trollop::VERSION) do |p| p.rubyforge_name = 'trollop' p.author = "William Morgan" p.summary = "Trollop is YAFCLAP --- yet another fine commandline argument processing library for Ruby. Trollop is designed to provide the maximal amount of GNU-style argument processing in the minimum number of lines of code (for you, the programmer)." 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 ## is there really no way to make a rule for this? WWW_FILES = %w(index.html README.txt FAQ.txt) task :upload_webpage => WWW_FILES do |t| sh "scp -C #{t.prerequisites * ' '} wmorgan@rubyforge.org:/var/www/gforge-projects/trollop/" end # vim: syntax=Ruby
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
trollop-1.2 | Rakefile |
trollop-1.6 | Rakefile |
trollop-1.5 | Rakefile |
trollop-1.3 | Rakefile |
trollop-1.4 | Rakefile |