Rakefile in sup-0.1 vs Rakefile in sup-0.2
- old
+ new
@@ -1,9 +1,10 @@
# -*- ruby -*-
require 'rubygems'
require 'hoe'
+$:.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
end # thanks to "Mike H"
@@ -21,10 +22,10 @@
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 = []
SCREENSHOTS.each do |fn|
fn =~ /ss(\d+)\.png/