forked from ma2shita/mail_ja
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Rakefile
31 lines (27 loc) · 760 Bytes
/
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
require 'rake'
require 'rake/testtask'
require 'rdoc/task'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test mail-iso-2022-jp library.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/mail_test.rb'
t.verbose = true
end
desc 'Test mail-iso-2022-jp library using action_mailer.'
Rake::TestTask.new(:test_all) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/mail_test.rb'
t.verbose = true
end
desc 'Generate documentation for the mail-iso-2022-jp library.'
RDoc::Task.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'MailIso2022Jp'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README.md')
rdoc.rdoc_files.include('lib/**/*.rb')
end