5 require 'yard/rake/yardoc_task'
8 desc 'Generate Yardoc documentation'
9 YARD::Rake::YardocTask.new do |yardoc|
11 yardoc.options = ['--verbose']
13 'lib/**/*.rb', 'ext/**/*.c', 'README', 'CHANGELOG', 'LICENSE'
18 task 'clobber' => ['doc:clobber_yard']
20 desc 'Alias to doc:yard'
21 task 'doc' => 'doc:yard'
23 # If yard isn't available, it's not the end of the world
24 desc 'Alias to doc:rdoc'
25 task 'doc' => 'doc:rdoc'