Sha256: c30dd8b98d26f3856caf1292976b0c379f6b2aad25cc82486f9d58cebc3aa3ec

Contents?: true

Size: 684 Bytes

Versions: 2

Compression:

Stored size: 684 Bytes

Contents

require "rake/clean"
require "bundler/gem_tasks"
require "rspec/core/rake_task"

# Default task for `rake` is to run rspec
task :default => [:spec]

# Use default rspec rake task
RSpec::Core::RakeTask.new

# Configure `rake clobber` to delete all generated files
CLOBBER.include("pkg", "doc", "coverage")

# Only configure yard doc generation when *not* on Travis
if ENV['CI'] != 'true'
  require "github/markup"
  require "redcarpet"
  require "yard"
  require "yard/rake/yardoc_task"

  YARD::Rake::YardocTask.new do |t|
    OTHER_PATHS = %w()
    t.files   = ['lib/**/*.rb', OTHER_PATHS]
    t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docile-1.1.0 Rakefile
docile-1.0.5 Rakefile