gem.rake 884 B

1234567891011121314151617181920212223242526272829303132
  1. begin
  2. require 'hoe'
  3. rescue LoadError
  4. # try with rubygems?
  5. require 'rubygems'
  6. require 'hoe'
  7. end
  8. Hoe.plugin :debugging, :doofus, :git
  9. HOE = Hoe.spec 'sqlite3' do
  10. developer 'Jamis Buck', 'jamis@37signals.com'
  11. developer 'Luis Lavena', 'luislavena@gmail.com'
  12. developer 'Aaron Patterson', 'aaron@tenderlovemaking.com'
  13. self.readme_file = 'README.rdoc'
  14. self.history_file = 'CHANGELOG.rdoc'
  15. self.extra_rdoc_files = FileList['*.rdoc', 'ext/**/*.c']
  16. spec_extras[:required_ruby_version] = Gem::Requirement.new('>= 1.8.7')
  17. spec_extras[:required_rubygems_version] = '>= 1.3.5'
  18. spec_extras[:extensions] = ["ext/sqlite3/extconf.rb"]
  19. extra_dev_deps << ['rake-compiler', "~> 0.7.0"]
  20. extra_dev_deps << ["mini_portile", "~> 0.2.2"]
  21. clean_globs.push('**/test.db')
  22. end
  23. Hoe.add_include_dirs '.'
  24. # vim: syntax=ruby