Sha256: 881161ec7de1c53cffd461c820bf40ee9d5404152901a2ff7531b8a484d8917f

Contents?: true

Size: 513 Bytes

Versions: 10

Compression:

Stored size: 513 Bytes

Contents

# encoding: utf-8

begin
  require "yard"
rescue LoadError
else
namespace :yard do
  YARD::Rake::YardocTask.new(:doc) do |t|
    t.stats_options = ["--list-undoc"]
  end

  desc "start a gem server"
  task :server do
    sh "bundle exec yard server --gems"
  end

  desc "use Graphviz to generate dot graph"
  task :graph do
    output_file = "doc/erd.dot"
    sh "bundle exec yard graph --protected --full --dependencies > #{output_file}"
    puts "open doc/erd.dot if you have graphviz installed"
  end
end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
metric_fu-4.13.0 gem_tasks/yard.rake
fastruby-metric_fu-5.0.0 gem_tasks/yard.rake
code_metric_fu-4.14.4 gem_tasks/yard.rake
code_metric_fu-4.14.3 gem_tasks/yard.rake
code_metric_fu-4.14.2 gem_tasks/yard.rake
code_metric_fu-4.14.1 gem_tasks/yard.rake
code_metric_fu-4.14.0 gem_tasks/yard.rake
metric_fu-4.12.0 gem_tasks/yard.rake
metric_fu-4.11.4 gem_tasks/yard.rake
metric_fu-4.11.3 gem_tasks/yard.rake