lib/yard/rake/yardoc_task.rb in yard-0.8.7.3 vs lib/yard/rake/yardoc_task.rb in yard-0.8.7.4
- old
+ new
@@ -58,10 +58,10 @@
protected
# Defines the rake task
# @return [void]
def define
- desc "Generate YARD Documentation"
+ desc "Generate YARD Documentation" unless ::Rake.application.last_comment
task(name) do
before.call if before.is_a?(Proc)
yardoc = YARD::CLI::Yardoc.new
yardoc.options[:verifier] = verifier if verifier
yardoc.run *(options + files)
\ No newline at end of file