Fixed yardoc task.

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@4 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
This commit is contained in:
bobaman@google.com 2010-08-10 05:01:21 +00:00
parent 70ed84ffec
commit 6901797894
1 changed files with 5 additions and 4 deletions

View File

@ -1,16 +1,17 @@
require "rake"
begin
require "yard"
require "yard/rake/yardoc_task"
namespace :doc do
desc "Generate Yardoc documentation"
YARD::Rake::YardocTask.new do |yardoc|
yardoc.name = "yard"
yardoc.options = "-o doc/"
yardoc.files = FileList[
"lib/**/*.rb", "ext/**/*.c", "-", "README", "CHANGELOG", "LICENSE"
].exclude(/^[_\.]/)
yardoc.options = ["--verbose"]
yardoc.files = [
"lib/**/*.rb", "ext/**/*.c", "README", "CHANGELOG", "LICENSE"
]
end
end