summaryrefslogtreecommitdiff
path: root/Rakefile
blob: 013a068f9e220faf544b0e727f5453f6a059f174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/packagetask'

Rake::TestTask.new do |t|
	t.libs << "test"
	t.test_files = FileList['test/tc_*.rb']
end

Rake::RDocTask.new do |rd|
	rd.main = 'README'
	rd.rdoc_files.include('lib/*.rb', 'lib/feed2imap/*.rb')
	rd.options << '--all'
	rd.rdoc_dir = 'rdoc'
end

Rake::PackageTask.new('feed2imap', '0.4') do |p|
	p.need_tar = true
	p.package_files.include('ChangeLog', 'README', 'COPYING', 'setup.rb', 'Rakefile', 'feed2imaprc-example', 'bin/feed2imap*', 'test/*.rb', 'test/parserdata/*.xml', 'test/parserdata/*.output', 'lib/*.rb', 'lib/feed2imap/*.rb')
end