Sha256: cdb076b0851345fd60523045ec1822971af3c01c8bcf6c1dcfbe3a084e5ec16d
Contents?: true
Size: 567 Bytes
Versions: 5
Compression:
Stored size: 567 Bytes
Contents
# Most projects set rdoc options in the context of gem building. However, mcollective # generates its own rdoc package. We can reuse the @build.gem_rdoc_options here if @build.build_doc begin require 'rdoc/task' rescue LoadError require 'rake/rdoctask' end namespace :package do RDoc::Task.new(:doc) do |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "#{@build.project} version #{@build.version}" @build.gem_rdoc_options.each do |option| rdoc.options << option end unless @build.gem_rdoc_options.nil? end end end
Version data entries
5 entries across 5 versions & 1 rubygems