Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 32 lines (21 sloc) 0.809 kB
85a93f4 @rue Added Rake task doc:doxygen (and friends.) Output to vm/doc/generated/.
rue authored
1 require "fileutils"
2
3
3d4a45f @drbrain Remove Redcloth dependency on building docs, now using RDoc.
drbrain authored
4 namespace :doc do
cc28068 Rearranged rake setup a lot, making browsing more intuitive (build se…
Ryan Davis authored
5
85a93f4 @rue Added Rake task doc:doxygen (and friends.) Output to vm/doc/generated/.
rue authored
6 desc "Generate HTML, LaTeX and man(3) documentation from codebase."
7 task :doxygen => "doc:doxygen:generate"
cc28068 Rearranged rake setup a lot, making browsing more intuitive (build se…
Ryan Davis authored
8
85a93f4 @rue Added Rake task doc:doxygen (and friends.) Output to vm/doc/generated/.
rue authored
9 desc "Delete all generated documentation"
f4c08fb @agardiner Add back Doxygen support for generating VM docs
agardiner authored
10 task :clean => %w[doc:doxygen:clean]
85a93f4 @rue Added Rake task doc:doxygen (and friends.) Output to vm/doc/generated/.
rue authored
11
322d98b @brixen Update paths for :doc tasks (more work to do on these).
brixen authored
12 # TODO: rename task to :vm and make it a dependency for doc:build.
85a93f4 @rue Added Rake task doc:doxygen (and friends.) Output to vm/doc/generated/.
rue authored
13 namespace :doxygen do
14
f8f08e8 @brixen Fixed paths for doxygen conf and generated docs location.
brixen authored
15 directory "doc/generated/vm"
85a93f4 @rue Added Rake task doc:doxygen (and friends.) Output to vm/doc/generated/.
rue authored
16
17 desc "Generate HTML, LaTeX and man(3) documentation from codebase."
f4c08fb @agardiner Add back Doxygen support for generating VM docs
agardiner authored
18 task :generate => %w[doc/generated/vm resources/doxygen.conf] do
19 sh "doxygen resources/doxygen.conf"
cc28068 Rearranged rake setup a lot, making browsing more intuitive (build se…
Ryan Davis authored
20 end
21
85a93f4 @rue Added Rake task doc:doxygen (and friends.) Output to vm/doc/generated/.
rue authored
22 desc "Delete all documentation generated by Doxygen"
23 task :clean do
f8f08e8 @brixen Fixed paths for doxygen conf and generated docs location.
brixen authored
24 if File.directory? "doc/generated/vm"
25 FileUtils.rm_r "doc/generated/vm", :secure => true, :verbose => $verbose
85a93f4 @rue Added Rake task doc:doxygen (and friends.) Output to vm/doc/generated/.
rue authored
26 end
27 end
28
29 end
30
cc28068 Rearranged rake setup a lot, making browsing more intuitive (build se…
Ryan Davis authored
31 end
Something went wrong with that request. Please try again.