Mercurial > hg > soundsoftware-site
diff lib/tasks/yardoc.rake @ 14:1d32c0a0efbf
* Update to SVN trunk (revisions 3892-4040)
author | Chris Cannam |
---|---|
date | Wed, 25 Aug 2010 16:30:24 +0100 |
parents | 513646585e45 |
children | dffacf8a6908 |
line wrap: on
line diff
--- a/lib/tasks/yardoc.rake Wed Jul 28 12:47:17 2010 +0100 +++ b/lib/tasks/yardoc.rake Wed Aug 25 16:30:24 2010 +0100 @@ -2,7 +2,17 @@ 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 + + static_files = ['doc/CHANGELOG', + 'doc/COPYING', + 'doc/INSTALL', + 'doc/RUNNING_TESTS', + 'doc/UPGRADING'].join(',') + + t.options += ['--output-dir', './doc/app', '--files', static_files] end rescue LoadError