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

Version Path
pump-0.11.0 Rakefile
pump-0.10.0 Rakefile
pump-0.9.1 Rakefile
pump-0.9.0 Rakefile
pump-0.8.0 Rakefile
pump-0.7.0 Rakefile
pump-0.6.6 Rakefile
pump-0.6.5 Rakefile
pump-0.6.4 Rakefile
pump-0.6.3 Rakefile
pump-0.6.2 Rakefile
pump-0.6.1 Rakefile
pump-0.6.0 Rakefile
pump-0.5.1 Rakefile
pump-0.5.0 Rakefile
pump-0.4.0 Rakefile
pump-0.3.0 Rakefile