From: Eric Davis Date: Thu, 19 Aug 2010 04:31:42 +0000 (+0000) Subject: Merged r3920 from trunk. X-Git-Tag: 1.0.1~48 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dfe44017b609ca32fe9b8de16558ebeabedd0aff;p=redmine.git Merged r3920 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3970 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/tasks/yardoc.rake b/lib/tasks/yardoc.rake index c98f3bd4f..761065df8 100644 --- a/lib/tasks/yardoc.rake +++ b/lib/tasks/yardoc.rake @@ -2,7 +2,9 @@ begin require 'yard' YARD::Rake::YardocTask.new do |t| - t.files = ['lib/**/*.rb', 'app/**/*.rb', 'vendor/plugins/**/*.rb'] + files = ['lib/**/*.rb', 'app/**/*.rb'] + files << Dir['vendor/plugins/**/*.rb'].reject {|f| f.match(/test/) } # Exclude test files + t.files = files end rescue LoadError