Sha256: 735f21db9c068bed2fd37ad03665a066235f6798b5d818abd91721aaebfd93d2
Contents?: true
Size: 1.67 KB
Versions: 4
Compression:
Stored size: 1.67 KB
Contents
#!/usr/bin/env rake begin require 'hoe' rescue LoadError abort "This Rakefile requires 'hoe' (gem install hoe)" end # Work around borked RSpec support in this version if Hoe::VERSION == '2.12.0' warn "Ignore warnings about not having rspec; it's a bug in Hoe 2.12.0" require 'rspec' end Hoe.plugin :mercurial Hoe.plugin :signing Hoe.plugins.delete :rubyforge hoespec = Hoe.spec 'mongrel2' do self.readme_file = 'README.rdoc' self.history_file = 'History.rdoc' self.extra_rdoc_files << 'README.rdoc' << 'History.rdoc' self.spec_extras[:rdoc_options] = ['-t', 'Ruby-Mongrel2'] self.developer 'Michael Granger', 'ged@FaerieMUD.org' self.dependency 'nokogiri', '~> 1.5' self.dependency 'sequel', '~> 3.26' self.dependency 'amalgalite', '~> 1.1' self.dependency 'tnetstring', '~> 0.3' self.dependency 'yajl-ruby', '~> 0.8' self.dependency 'zmq', '~> 2.1.4' self.dependency 'configurability', '~> 1.0', :developer self.dependency 'rspec', '~> 2.4', :developer self.spec_extras[:licenses] = ["BSD"] self.require_ruby_version( '>= 1.9.2' ) self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags= ) self.check_history_on_release = true if self.respond_to?( :check_history_on_release= ) self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}" end ENV['VERSION'] ||= hoespec.spec.version.to_s # Ensure the specs pass before checking in task 'hg:precheckin' => [ :check_manifest, :check_history, :spec ] # Rebuild the ChangeLog immediately before release task :prerelease => [:check_manifest, :check_history, 'ChangeLog'] desc "Build a coverage report" task :coverage do ENV["COVERAGE"] = 'yes' Rake::Task[:spec].invoke end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mongrel2-0.9.2 | Rakefile |
mongrel2-0.9.1 | Rakefile |
mongrel2-0.9.0 | Rakefile |
mongrel2-0.8.0 | Rakefile |