]> git.cworth.org Git - sup/commitdiff
added trollop dep and removed hoe
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 31 Jan 2007 23:27:53 +0000 (23:27 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 31 Jan 2007 23:27:53 +0000 (23:27 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@287 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Rakefile

index 2820ef12161ea3c7bb6e3486ef1e5a90d030c2a0..0732b81383ec38114b2a50c936ba9255a12bb191 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -4,6 +4,10 @@ require 'rubygems'
 require 'hoe'
 require './lib/sup.rb'
 
+class Hoe
+  def extra_deps; @extra_deps.reject { |x| Array(x).first == "hoe" } end
+end # thanks to "Mike H"
+
 Hoe.new('sup', Redwood::VERSION) do |p|
   p.rubyforge_name = 'sup'
   p.author = "William Morgan"
@@ -12,7 +16,7 @@ Hoe.new('sup', Redwood::VERSION) do |p|
   p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[2].gsub(/^\s+/, "")
   p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
   p.email = "wmorgan-sup@masanjin.net"
-  p.extra_deps = [['ferret', '>= 0.10.13'], ['ncurses', '>= 0.9.1'], ['rmail', '>= 0.17'], 'highline', 'net-ssh']
+  p.extra_deps = [['ferret', '>= 0.10.13'], ['ncurses', '>= 0.9.1'], ['rmail', '>= 0.17'], 'highline', 'net-ssh', 'trollop']
 end
 
 rule 'ss?.png' => 'ss?-small.png' do |t|