Skip to content

Commit

Permalink
Merge pull request #716 from DavidEGrayson/yard_pull_request_3
Browse files Browse the repository at this point in the history
Fix #705 by not calling desc if ::Rake.application.last_comment is set
  • Loading branch information
lsegal committed Dec 9, 2013
2 parents 546fde3 + 729f95f commit 36b7108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/yard/rake/yardoc_task.rb
Expand Up @@ -60,7 +60,7 @@ def initialize(name = :yard)
# 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
Expand Down

0 comments on commit 36b7108

Please sign in to comment.