Sha256: 6099104af723603531ed50ae90471b46e1d589a30790b86c96ad5898905bc95b

Contents?: true

Size: 579 Bytes

Versions: 13

Compression:

Stored size: 579 Bytes

Contents

# frozen_string_literal: true

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.md',
    '--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)

task test: %i[test_unit test_style]

task default: :test

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cri-2.15.12 Rakefile
cri-2.15.11 Rakefile
cri-2.15.10 Rakefile
cri-2.15.9 Rakefile
cri-2.15.8 Rakefile
cri-2.15.7 Rakefile
cri-2.15.6 Rakefile
cri-2.15.5 Rakefile
cri-2.15.4 Rakefile
cri-2.15.3 Rakefile
cri-2.15.2 Rakefile
cri-2.15.1 Rakefile
cri-2.15.0 Rakefile