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:
parent
70ed84ffec
commit
6901797894
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue