tasks/setup.rb in pagify-0.6.2 vs tasks/setup.rb in pagify-0.7.0
- old
+ new
@@ -4,11 +4,11 @@
require 'rake/clean'
require 'fileutils'
require 'ostruct'
require 'find'
-class OpenStruct; undef :gem if defined? :gem; end
+class OpenStruct; undef :gem if defined? :gem; end
# TODO: make my own openstruct type object that includes descriptions
# TODO: use the descriptions to output help on the available bones options
PROJ = OpenStruct.new(
@@ -249,10 +249,10 @@
#
def manifest
files = []
exclude = PROJ.exclude.dup
comment = %r/^\s*#/
-
+
# process the ignore file and add the items there to the exclude list
if test(?f, PROJ.ignore_file)
ary = []
File.readlines(PROJ.ignore_file).each do |line|
next if line =~ comment