Sha256: 7b23b94fb740a95013767181043fe1748c0057b4c7a835c18207ffd0196fe3de
Contents?: true
Size: 728 Bytes
Versions: 17
Compression:
Stored size: 728 Bytes
Contents
require "bundler/gem_tasks" require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec begin require "yard" require "yard/rake/yardoc_task" namespace :doc do desc "Generate Yardoc documentation" YARD::Rake::YardocTask.new do |yardoc| yardoc.name = "yard" yardoc.options = ["--verbose", "--markup", "markdown"] yardoc.files = FileList[ "lib/**/*.rb", "-", "README.md", "CHANGES.md", "MIT-LICENSE" ] end end task "clobber" => ["doc:clobber_yard"] desc "Alias to doc:yard" task "doc" => "doc:yard" rescue LoadError # If yard isn't available, it's not the end of the world desc "Alias to doc:rdoc" task "doc" => "doc:rdoc" end
Version data entries
17 entries across 17 versions & 1 rubygems