Commits

Michael Granger committed 5217466

Update build system.

  • Participants
  • Parent commits 70adac2

Comments (0)

Files changed (3)

 ^release\.(ann|notes)
 legacy/pkg/
 doc/
+\.lock$
+# -*- ruby -*-
+
+# DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
+
+source "https://rubygems.org/"
+
+
+gem "hoe-mercurial", "~>1.4.0", :group => [:development, :test]
+gem "rdoc", "~>4.0", :group => [:development, :test]
+gem "hoe-bundler", "~>1.2", :group => [:development, :test]
+gem "hoe", "~>3.7", :group => [:development, :test]
+
+# vim: syntax=ruby
 
 Hoe.plugin :mercurial
 Hoe.plugin :signing
+Hoe.plugin :bundler
 
 Hoe.plugins.delete :rubyforge
 
 	self.extra_rdoc_files = Rake::FileList[ '*.rdoc' ]
 
 	self.developer 'Michael Granger', 'ged@FaerieMUD.org'
+	self.license 'Ruby'
 
-	self.dependency 'rspec-core', '~> 2.12'
+	self.dependency 'hoe-bundler', '~> 1.2', :development
 
-	self.spec_extras[:licenses] = ["BSD"]
 	self.spec_extras[:post_install_message] = %{
 
 		You can use this formatter from TextMate by setting the TM_RSPEC_OPTS 
 
 	}.gsub( /^\t+/m, '' )
 
-	self.require_ruby_version( '>=1.8.7' )
+	self.require_ruby_version( '>=1.9.3' )
 	self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags )
 	self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
 end
 ENV['VERSION'] ||= hoespec.spec.version.to_s
 
 # Ensure history is updated before checking in
-task 'hg:precheckin' => [ :check_history ]
+task 'hg:precheckin' => [ :check_history, 'Gemfile' ]
 
 task :legacy_gem do
 	Dir.chdir( 'legacy' ) do
 CLEAN.include( 'legacy/pkg' )
 
 
+file 'Gemfile'
+task 'Gemfile' => ['bundler:gemfile']
+
+