summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2014-09-07 03:11:35 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2014-09-07 03:11:35 +0000
commit11855f6861f1c362982504091ae6d1cc9f968dfe (patch)
tree0234b50fbefce5714903ff642d2c217864d9723e /lib/tasks
parentd00f875800fce1ec047570d8972c833d9da91858 (diff)
downloadredmine-11855f6861f1c362982504091ae6d1cc9f968dfe.tar.gz
redmine-11855f6861f1c362982504091ae6d1cc9f968dfe.zip
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
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/yardoc.rake4
1 files 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',