# -*- ruby -*- require 'rubygems' require 'hoe' dir = File.dirname(__FILE__) lib_path = File.expand_path("#{dir}/lib") $LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path) require 'pdf/storycards' ENV["VERSION"] = PDF::Storycards::VERSION Hoe.new('pdf-storycards', PDF::Storycards::VERSION) do |p| p.rubyforge_name = 'pdf-storycards' p.author = 'Luke Melia' p.email = 'luke@lukemelia.com' p.summary = 'Utilities for generating printable story cards for agile planning and measurement' p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n") # p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1] p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n") p.extra_deps << ['pdf-writer', '>= 1.1.7'] p.extra_deps << ['rspec', '>= 1.1.1'] end # vim: syntax=Ruby