From 6901797894781150c8a6ca0552a91624d18eab0d Mon Sep 17 00:00:00 2001 From: "bobaman@google.com" Date: Tue, 10 Aug 2010 05:01:21 +0000 Subject: [PATCH] Fixed yardoc task. git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@4 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef --- tasks/yard.rake | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tasks/yard.rake b/tasks/yard.rake index 62d6283d4..8d1eb51f0 100644 --- a/tasks/yard.rake +++ b/tasks/yard.rake @@ -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