Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (31 sloc) 1 KB
# vim: syntax=ruby
begin
require 'rubygems'
require 'hoe'
rescue LoadError
abort <<-_
Developing ashbe requires the use of rubygems and hoe.
gem install hoe
_
end
Hoe.plugin :doofus, :git, :gemspec2
Hoe.spec 'ashbe' do
developer 'Jeremy Hinegardner', 'jeremy@copiousfreetime.org'
self.url = 'http://copiousfreetime.org/projects/ashbe'
# Use rdoc for history and readme
self.history_file = 'HISTORY.rdoc'
self.readme_file = 'README.rdoc'
self.extra_rdoc_files = [ self.readme_file, self.history_file ]
# this gem is only for jruby
self.spec_extras[:platform] = "java"
# test with minitest
self.extra_dev_deps << [ 'minitest', '~> 2.0.2']
self.testlib = :minitest
self.test_globs = ["test/**/*.rb", "test/**/*.xml"]
# and we use autotest
self.extra_dev_deps << [ 'ZenTest', '~> 4.5.0' ]
# buildr for downloading the jars needed to run the tests
self.extra_dev_deps << [ 'buildr', '~> 1.4.4' ]
# extra stuff to clean up
self.clean_globs << "target*"
end