Skip to content

Commit

Permalink
rake yard task to generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed Mar 26, 2024
1 parent b9e78f8 commit 00c75f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ gem "minitest", "~> 5.0"

gem "rubocop", "~> 1.7"

gem "rubocop-minitest", require: false

gem "yard", require: false

gem "rubocop-minitest", require: false
gem "redcarpet", require: false, platforms: :ruby
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ RuboCop::RakeTask.new do |task|
task.requires << "rubocop-minitest"
end

require "yard"

YARD::Rake::YardocTask.new

task default: [:test, *(:rubocop if RUBY_ENGINE == "ruby")]

0 comments on commit 00c75f0

Please sign in to comment.