#!/usr/bin/env ruby require 'rubygems' require 'hoe' require './lib/rails_creator.rb' Hoe.new('rails_creator', RailsCreator::Version::String) do |p| p.rubyforge_name = 'rails_creator' p.summary = 'Creates a new Rails project from either Edge Rails or your currently installed version. It will also check your project into Subversion and check it out to the location you specify, removing common files.' 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.remote_rdoc_dir = '' # Release to root end