Skip to content
Newer
Older
100644 39 lines (27 sloc) 912 Bytes
99b25d4 @kou * import test-unit-rr.
kou authored Feb 9, 2011
1 # -*- ruby -*-
2
3 require 'pathname'
4
5 base_dir = Pathname(__FILE__).dirname.expand_path
6 test_unit_dir = (base_dir.parent + "test-unit").expand_path
7 test_unit_lib_dir = test_unit_dir + "lib"
8 lib_dir = base_dir + "lib"
9
10 $LOAD_PATH.unshift(test_unit_lib_dir.to_s)
11 $LOAD_PATH.unshift(lib_dir.to_s)
12
13 require 'test/unit/rr'
14
15 require 'rubygems'
16 require 'hoe'
17
18 Test::Unit.run = true
19
20 version = Test::Unit::RR::VERSION
21 ENV["VERSION"] = version
22 Hoe.spec('test-unit-rr') do
23 self.version = version
24 self.rubyforge_name = "test-unit"
25
26 developer('Kouhei Sutou', 'kou@clear-code.com')
27
28 extra_deps << ["test-unit", ">= 2.1.2"]
29 extra_deps << ["rr", ">= 1.0.2"]
30 end
31
32 task :tag do
33 message = "Released Test::Unit::RR #{version}!"
34 base = "svn+ssh://#{ENV['USER']}@rubyforge.org/var/svn/test-unit/extensions/test-unit-rr/"
35 sh 'svn', 'copy', '-m', message, "#{base}trunk", "#{base}tags/#{version}"
36 end
37
38 # vim: syntax=Ruby
Something went wrong with that request. Please try again.