]> source.dussan.org Git - redmine.git/commitdiff
Merged r3920 from trunk.
authorEric Davis <edavis@littlestreamsoftware.com>
Thu, 19 Aug 2010 04:31:42 +0000 (04:31 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Thu, 19 Aug 2010 04:31:42 +0000 (04:31 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3970 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/tasks/yardoc.rake

index c98f3bd4f1ee154d525f27269bd5aab94f15cecf..761065df83f8878b23fce13d2ee6916c0dd781c3 100644 (file)
@@ -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