Add static docs to YARD.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3922 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2010-08-07 15:11:26 +00:00
parent 2c79572e4b
commit 2e14ba95a0
1 changed files with 8 additions and 1 deletions

View File

@ -5,7 +5,14 @@ begin
files = ['lib/**/*.rb', 'app/**/*.rb'] files = ['lib/**/*.rb', 'app/**/*.rb']
files << Dir['vendor/plugins/**/*.rb'].reject {|f| f.match(/test/) } # Exclude test files files << Dir['vendor/plugins/**/*.rb'].reject {|f| f.match(/test/) } # Exclude test files
t.files = files t.files = files
t.options += ['--output-dir', './doc/app']
static_files = ['doc/CHANGELOG',
'doc/COPYING',
'doc/INSTALL',
'doc/RUNNING_TESTS',
'doc/UPGRADING'].join(',')
t.options += ['--output-dir', './doc/app', '--files', static_files]
end end
rescue LoadError rescue LoadError