Sha256: 18ad13b34c6e0f711a510292106a01cb561dc9febfcf242344b440584bbdc693

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

begin
  require "rspec/core/rake_task"
  require "rspec/core/version"

  desc "Run all examples"
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.rspec_opts = %w(--color)
  end
rescue LoadError
  # rspec not loaded, tasks not available
  desc "[RSpec failed to load] Run all examples"
  task :spec do
    fail "RSpec failed to load, this task can't be run"
  end
end

desc "Alias for spec"
task :test => :spec

begin
  require "yard"

  YARD::Rake::YardocTask.new :doc do |yard|
    yard.files = Dir.glob("lib/**/*.rb")
  end
rescue LoadError
  puts "failed to load yard"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
burlap-1.0.0 Rakefile