-
Notifications
You must be signed in to change notification settings - Fork 7
/
Rakefile
40 lines (27 loc) · 960 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
32
33
34
35
36
37
38
39
40
# -*- ruby -*-
require 'rubygems'
require 'hoe'
$:.unshift 'lib'
Hoe.plugin :git
Hoe.spec 'rdoc_chm' do |rdoc_chm|
rdoc_chm.rubyforge_name = 'rdoc'
rdoc_chm.developer 'Gordon Thiesfeld', '[email protected]'
rdoc_chm.developer 'Eric Hodel', '[email protected]'
rdoc_chm.developer 'Dave Thomas', ''
rdoc_chm.developer 'Tony Strauss', '[email protected]'
rdoc_chm.readme_file = 'README.rdoc'
rdoc_chm.extra_deps << ['rdoc', '~> 3.12']
rdoc_chm.testlib = :minitest
rdoc_chm.spec_extras['required_rubygems_version'] = '>= 1.3'
rdoc_chm.spec_extras['homepage'] = 'https://github.com/vertiginous/rdoc_chm'
end
desc "Build chm files"
task :chm => :clean do
sh %q{ rdoc --fmt chm --op rdoc_chm --title="rdoc_chm 2.4.0" --main=README.rdoc . }
end
task :clobber_chm do
rm_rf "rdoc_chm"
end
desc "rebuild chm files"
task :rechm => [:clobber_chm, :chm]
# vim: syntax=Ruby