Sha256: 9b7b392c9c158adcedfba3d33d831ed7aee8768861cfbee3e676e3983a27c54b
Contents?: true
Size: 796 Bytes
Versions: 9
Compression:
Stored size: 796 Bytes
Contents
require 'rdoc/task' namespace :doc do desc "Generate RDoc documentation" Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = "doc" rdoc.title = "resumetools #{ResumeTools::VERSION} Documentation" rdoc.options << "--line-numbers" << "--inline-source" << "--accessor" << "cattr_accessor=object" << "--charset" << "utf-8" rdoc.template = "#{ENV["template"]}.rb" if ENV["template"] rdoc.rdoc_files.include("README.md", "CHANGES", "LICENSE") rdoc.rdoc_files.include("lib/**/*.rb") end desc "Generate ri locally for testing" task :ri do sh "rdoc --ri -o ri ." end desc "Remove ri products" task :clobber_ri do rm_r "ri" rescue nil end end desc "Alias to doc:rdoc" task "doc" => "doc:rdoc" task "clobber" => ["doc:clobber_rdoc", "doc:clobber_ri"]
Version data entries
9 entries across 9 versions & 1 rubygems