Skip to content

Commit

Permalink
Add --fail-on-warning option to yard rake task
Browse files Browse the repository at this point in the history
See #422.
  • Loading branch information
floehopper committed Jun 25, 2021
1 parent fd2a4c6 commit 53a6ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if ENV['MOCHA_GENERATE_DOCS']

desc 'Generate documentation'
YARD::Rake::YardocTask.new('yardoc' => 'docs_environment') do |task|
task.options = ['--title', "Mocha #{Mocha::VERSION}"]
task.options = ['--title', "Mocha #{Mocha::VERSION}", '--fail-on-warning']
end

task 'checkout_docs_cname' do
Expand Down

0 comments on commit 53a6ee3

Please sign in to comment.