##// END OF EJS Templates
Exclude test files from YARD....
Eric Davis -
r3806:7a3dcdc67f79
parent child
Show More
@@ -1,11 +1,13
1 1 begin
2 2 require 'yard'
3 3
4 4 YARD::Rake::YardocTask.new do |t|
5 t.files = ['lib/**/*.rb', 'app/**/*.rb', 'vendor/plugins/**/*.rb']
5 files = ['lib/**/*.rb', 'app/**/*.rb']
6 files << Dir['vendor/plugins/**/*.rb'].reject {|f| f.match(/test/) } # Exclude test files
7 t.files = files
6 8 end
7 9
8 10 rescue LoadError
9 11 # yard not installed (gem install yard)
10 12 # http://yardoc.org
11 13 end
General Comments 0
You need to be logged in to leave comments. Login now