Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (21 sloc) 918 Bytes
%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
require File.dirname(__FILE__) + '/lib/simplepay'
$hoe = Hoe.new('simplepay', Simplepay::VERSION) do |p|
p.developer('Nathaniel E. Bibler', 'gem@nathanielbibler.com')
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
p.rubyforge_name = p.name
p.extra_deps = [
['activesupport','>= 2.0.2']
]
p.extra_dev_deps = [
['newgem', ">= #{::Newgem::VERSION}"]
]
p.clean_globs |= %w[**/.DS_Store tmp *.log]
path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
p.remote_rdoc_dir = ''
p.rsync_args = '-av --delete --ignore-errors'
end
require 'newgem/tasks' # load /tasks/*.rake
Dir['tasks/**/*.rake'].each { |t| load t }
task :default => [:test]
task :release_and_update => [:gemspec, :release, :website, :post_news]