X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=Rakefile;h=2f2b992ab3ad0480e5fd4b7660a97291498af530;hb=c564f1ec0760cb23135f9a3b05b13e5cd6bc3999;hp=993caafbfbb87f6e972c07e321e474d7ebc2fe9d;hpb=f5c776927cf4de6a5256f43e3a2d016b73a2fc62;p=sup diff --git a/Rakefile b/Rakefile index 993caaf..2f2b992 100644 --- a/Rakefile +++ b/Rakefile @@ -2,7 +2,8 @@ require 'rubygems' require 'hoe' -require './lib/sup.rb' +$:.unshift 'lib' # force loading from ./lib/ if it exists +require 'sup' class Hoe def extra_deps; @extra_deps.reject { |x| Array(x).first == "hoe" } end @@ -16,14 +17,14 @@ 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..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', ['trollop', '>= 1.5']] + 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 doc/UserGuide.txt www/main.css) +WWW_FILES = %w(www/index.html README.txt doc/Philosophy.txt doc/FAQ.txt doc/NewUserGuide.txt www/main.css) SCREENSHOTS = FileList["www/ss?.png"] SCREENSHOTS_SMALL = []