From 11855f6861f1c362982504091ae6d1cc9f968dfe Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Barth Date: Sun, 7 Sep 2014 03:11:35 +0000 Subject: [PATCH] Update yard rake task for Redmine 2.x (#14796). Contributed by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@13365 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/tasks/yardoc.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/yardoc.rake b/lib/tasks/yardoc.rake index aa6c5eeb0..eab0d8606 100644 --- a/lib/tasks/yardoc.rake +++ b/lib/tasks/yardoc.rake @@ -2,8 +2,8 @@ begin require 'yard' YARD::Rake::YardocTask.new do |t| - files = ['lib/**/*.rb', 'app/**/*.rb'] - files << Dir['vendor/plugins/**/*.rb'].reject {|f| f.match(/test/) } # Exclude test files + files = ['app/**/*.rb'] + files << Dir['lib/**/*.rb', 'plugins/**/*.rb'].reject {|f| f.match(/test/) } t.files = files static_files = ['doc/CHANGELOG', -- 2.39.5