summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/tasks/yardoc.rake4
1 files changed, 3 insertions, 1 deletions
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