Sha256: ba17f228b10b1705b51529719ded1ea5a4e8c15575f84c8cade9d0acf3272091

Contents?: true

Size: 518 Bytes

Versions: 5

Compression:

Stored size: 518 Bytes

Contents

#!/usr/bin/env ruby

require 'fileutils'

desc "generate rdocs"

task "rdoc" do
  TEMPLATE  = ENV['RDOC_TEMPLATE'] || 'html'
  APIOUT    = "doc/rdoc"

  FileUtils.rm_r(APIOUT)

  system "rdoc -a -S -t'Facets Core API' -T #{TEMPLATE} -m README --op '#{APIOUT}/core' README lib/facets/core"
  system "rdoc -a -S -t'Facets Lore API' -T #{TEMPLATE} -m README --op '#{APIOUT}/lore' README lib/facets/lore"
  system "rdoc -a -S -t'Facets More API' -T #{TEMPLATE} -m README --op '#{APIOUT}/more' README lib/facets/more"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
facets-2.6.0 task/rdoc.rake
facets-2.4.5 task/rdoc.rake
facets-2.5.0 task/rdoc.rake
facets-2.5.1 task/rdoc.rake
facets-2.5.2 task/rdoc.rake