Sha256: 6ec4864d76242fa9eaa90c3baad0b7849b6888d0e764e24be71816cb831eabcb

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.setup :default, :test, :development

Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
end

task :spec

require 'rainbow/ext/string' unless String.respond_to?(:color)
require 'rubocop/rake_task'
RuboCop::RakeTask.new

task default: [:rubocop, :inch, :spec]

require 'yard'
DOC_FILES = ['lib/**/*.rb', 'README.md']

YARD::Rake::YardocTask.new(:doc) do |t|
  t.files = DOC_FILES
end

require 'inch/rake'
Inch::Rake::Suggest.new do |inch|
  inch.args << '--private'
  inch.args << '--pedantic'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
db_mod-0.0.6 Rakefile