Commit ecf1968b authored by Benjamin Meichsner's avatar Benjamin Meichsner Committed by Mario Manno

Do not complain about missing yard libs in production.

parent 53530bfa
require "github/markdown"
require "redcarpet"
require "yard"
require "yard/rake/yardoc_task"
YARD::Rake::YardocTask.new do |t|
t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md)
begin
require "github/markdown"
require "redcarpet"
require "yard"
require "yard/rake/yardoc_task"
YARD::Rake::YardocTask.new do |t|
t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md)
end
rescue LoadError => error
puts error.message
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment