Mercurial > hg > soundsoftware-site
view .svn/pristine/5d/5d110403425d734bbec061b5ba503df5df3a724f.svn-base @ 1539:22d57b0e0a77 live
OK, this script works now, but it should be using the API
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 21 May 2015 17:31:06 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
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 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 # yard not installed (gem install yard) # http://yardoc.org end