Redmine/lib/tasks/yardoc.rake

12 lines
223 B
Ruby

begin
require 'yard'
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb', 'app/**/*.rb', 'vendor/plugins/**/*.rb']
end
rescue LoadError
# yard not installed (gem install yard)
# http://yardoc.org
end