Sha256: fde0143d56b809aa5ee6152e56289796136934f89dd0ef8546dcb9323b8bcc6a
Contents?: true
Size: 619 Bytes
Versions: 3
Compression:
Stored size: 619 Bytes
Contents
@api_dir = 'api' @api_dst = "#{@api_dir}/index.html" desc 'Build API documentation.' task :api => @api_dst file @api_dst => FileList['lib/**/*.rb'].include('LICENSE') do inner_task_name = 'api:yard' require 'yard' require 'yard/rake/yardoc_task' YARD::Rake::YardocTask.new(inner_task_name) do |yardoc| yardoc.options = [ '--output-dir', @api_dir, '--title', ( Rake::Task[:@project].invoke @project_module.inspect ), '--readme', 'LICENSE', '--no-private' ] end Rake::Task[inner_task_name].invoke end CLEAN.include '.yardoc' CLOBBER.include @api_dir
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
inochi-4.0.1 | lib/inochi/tasks/2-api.rake |
inochi-4.0.0 | lib/inochi/tasks/2-api.rake |
inochi-3.0.0 | lib/inochi/tasks/2-api.rake |