Skip to content

Commit

Permalink
Add PDoc requirement notification and how to install
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenCocoon committed Mar 29, 2009
1 parent 84f8918 commit 9bcd746
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Rakefile
Expand Up @@ -4,7 +4,15 @@ require 'rake/rdoctask'

desc "Generates documentation"
task :doc => :dist do
require 'lib/pdoc/lib/pdoc'
pdoc = 'lib/pdoc/lib/pdoc'
unless File.exists?(pdoc)
puts "\nYou'll need PDoc to generate the documentation. Just run:\n\n"
puts " $ git submodule init lib/pdoc"
puts " $ git submodule update lib/pdoc"
puts "\nand you should be all set.\n\n"
end

require pdoc
require 'fileutils'
require 'tempfile'

Expand Down

0 comments on commit 9bcd746

Please sign in to comment.