FooBarWidget / mizuho

Documentation formatting tool. Converts Asciidoc input into nicely formatted HTML. Multiple templates are supported.

Hongli Lai (Phusion) (author)
Sat Jan 10 11:44:25 -0800 2009
commit  f2ac719df52094b447684f505ca674eb0bedfadf
tree    84e3727694ccdd7a6f376f0b7bdc62308f7a545d
parent  f8199431070c4e563bcdfcd33001ac87c4a71fba
mizuho / Rakefile
100644 25 lines (21 sloc) 0.578 kb
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
desc "Run unit tests"
task :test do
ruby "-S spec -f s -c test/*_spec.rb"
end
 
desc "Build a gem"
task :gem do
ruby "-S gem build mizuho.gemspec"
end
 
desc "Build a gem and install it"
task :install => :gem do
File.read("mizuho.gemspec") =~ /s\.version = \"(.*?)\"/
version = $1
ruby "-S gem install mizuho-#{version}.gem"
end
 
desc "Generate an Asciidoc file list, suitable for pasting into the gemspec"
task :generate_asciidoc_file_list do
puts Dir["asciidoc/**/*"].inspect
end
 
task :generate_source_highlight_file_list do
puts Dir["source-highlight/**/*"].inspect
end