-
Notifications
You must be signed in to change notification settings - Fork 9
/
Rakefile
54 lines (44 loc) · 1.26 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
44
45
46
47
48
49
50
51
52
53
54
# jwz_threading Rakefile
#
#
require 'rake/clean'
require 'rake/rdoctask'
require 'rake/testtask'
require 'rcov/rcovtask'
#require 'rake/gempackagetask'
require 'lib/jwz_threading/version'
require 'echoe'
DIR = File.dirname(__FILE__)
PKG_NAME = 'jwz_threading'
PKG_VERSION = JWZThreading::VERSION::STRING
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
PKG_FILES = FileList[
'[A-Z]*',
'lib/**/*.rb',
'test/**/*',
]
CLOBBER.include 'doc'
task :default => 'test'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
begin
require 'echoe'
Echoe.new(PKG_NAME, PKG_VERSION) do |p|
p.rubyforge_name = 'jwz_threading'
p.summary = JWZThreading::VERSION::SUMMARY
p.description = <<-EOF
It is a small ruby library which lets you order a list of E-Mails by conversation.
That is, grouping messages together in parent/child relationships based on which
messages are replies to which others.
EOF
p.url = 'http://github.com/fdietz/jwz_threading'
p.author = 'Frederik Dietz'
p.email = "[email protected]"
end
rescue LoadError => boom
puts "You are missing a dependency required for meta-operations on this gem."
puts "#{boom.to_s.capitalize}."
end