Sha256: bc852151ff5520bd5715e56fc9aa2d4430b09cfcbe4eea6859ede3cd5e4f2f72

Contents?: true

Size: 670 Bytes

Versions: 4

Compression:

Stored size: 670 Bytes

Contents

# frozen_string_literal: true

# encoing: utf-8

require 'rake/testtask'
require 'rubocop/rake_task'
require 'yard'

YARD::Rake::YardocTask.new(:doc) do |yard|
  yard.files   = Dir['lib/**/*.rb']
  yard.options = [
    '--markup',        'markdown',
    '--readme',        'README.adoc',
    '--files',         'NEWS.md,LICENSE',
    '--output-dir',    'doc/yardoc'
  ]
end

Rake::TestTask.new(:test_unit) do |t|
  t.test_files = Dir['test/**/*_spec.rb'] + Dir['test/**/test_*.rb']
  t.libs << 'test'
end

RuboCop::RakeTask.new(:test_style) do |task|
  task.options = %w[--display-cop-names --format simple]
end

task test: %i[test_unit test_style]

task default: :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cri-2.14.0 Rakefile
cri-2.13.0 Rakefile
cri-2.12.0 Rakefile
cri-2.11.0 Rakefile