templates/cloud/gem/rakefile.erb in gapic-generator-cloud-0.2.2 vs templates/cloud/gem/rakefile.erb in gapic-generator-cloud-0.2.3
- old
+ new
@@ -102,10 +102,12 @@
end
require "yard"
require "yard/rake/yardoc_task"
YARD::Rake::YardocTask.new do |y|
+<%- if gem.yard_strict? -%>
y.options << "--fail-on-warning"
+<%- end -%>
end
desc "Run yard-doctest example tests."
task :doctest do
puts "The <%= gem.name %> gem does not have doctest tests."