]> git.cworth.org Git - sup/blobdiff - Rakefile
fix rakefile local build issues
[sup] / Rakefile
index 3313649e756017f11248d857b5a842be39c1055c..dd06bbc025c8a18a857780fef6bebf28593df797 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -2,26 +2,28 @@
 
 require 'rubygems'
 require 'hoe'
-require './lib/sup.rb'
+require './lib/sup'
+
+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"
   p.summary = 'A console-based email client with the best features of GMail, mutt, and emacs. Features full text search, labels, tagged operations, multiple buffers, recent contacts, and more.'
-  p.description = p.paragraphs_of('README.txt', 2..4).join("\n\n")
+  p.description = p.paragraphs_of('README.txt', 2..9).join("\n\n")
   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.changes = p.paragraphs_of('History.txt', 0..0).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', '>= 1.7'], 'lockfile', 'mime-types']
 end
 
 rule 'ss?.png' => 'ss?-small.png' do |t|
-
 end
 
-
 ## is there really no way to make a rule for this?
-WWW_FILES = %w(www/index.html README.txt doc/Philosophy.txt doc/FAQ.txt)
+WWW_FILES = %w(www/index.html README.txt doc/Philosophy.txt doc/FAQ.txt doc/UserGuide.txt www/main.css)
 
 SCREENSHOTS = FileList["www/ss?.png"]
 SCREENSHOTS_SMALL = []