]> source.dussan.org Git - redmine.git/commitdiff
Update yard rake task for Redmine 2.x (#14796).
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Sun, 7 Sep 2014 03:11:35 +0000 (03:11 +0000)
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Sun, 7 Sep 2014 03:11:35 +0000 (03:11 +0000)
Contributed by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@13365 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/tasks/yardoc.rake

index aa6c5eeb02dd3b67bb75f7a45ce9cf61678e2937..eab0d8606816021ddb9e2e555e003c4f86d34311 100644 (file)
@@ -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',