/
Rakefile
43 lines (30 loc) · 1.06 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -*- ruby -*-
require 'rubygems'
require 'hoe'
Hoe.plugins.delete :rubyforge
Hoe.plugin :git
spec = Hoe.spec 'rubygems-test' do
developer 'Erik Hollensbe', 'erik@hollensbe.org'
developer 'Josiah Kiehl', 'bluepojo@gmail.com'
# doin' it wrong because we're a gem plugin
# that means I can be "special"!
self.version = '0.3.10'
self.rubyforge_name = nil
self.description = <<-EOF
This installs three major features:
* a 'gem test' command.
* the ability to test your gems on installation, and uninstall them if they fail testing.
* A facility to upload your test results to http://www.gem-testers.org.
EOF
self.summary = 'commands and facilities for automated and user-contributed rubygems testing and reporting'
self.url = %w[http://github.com/rubygems/rubygems-test]
pluggable!
require_ruby_version ">= 1.8.7"
require_rubygems_version ">= 1.3.6"
extra_deps << ['rake', '>= 0.8.7']
desc "install a gem without sudo"
end
task :install => [:package] do
sh "gem install pkg/#{spec.name}-#{spec.version}.gem"
end
# vim: syntax=ruby