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