Sha256: f59ae0bd99f911cc4024dca03379ab36e0891542c083d9c4cb1ed07b66dc9760

Contents?: true

Size: 639 Bytes

Versions: 4

Compression:

Stored size: 639 Bytes

Contents

# 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.10.1 Rakefile
cri-2.10.0 Rakefile
cri-2.9.1 Rakefile
cri-2.9.0 Rakefile