Sha256: ff9fd177eca9472fb958f2c277d655f729701351210f708e0a62aafae8dcda7e

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rubocop'
require 'yard'
YARD::Rake::YardocTask.new

Rake::TestTask.new do |t|
  t.libs << 'lib/docparser'
  t.test_files = FileList['test/lib/**/*_test.rb']
  t.verbose = true
end

task test: :rubocop

task :rubocop do
  puts "Running Rubocop #{RuboCop::Version::STRING}"
  args = FileList['**/*.rb', 'Rakefile', 'docparser.gemspec', 'Gemfile']
  cli = RuboCop::CLI.new
  raise unless cli.run(args).zero?
end

task default: :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
docparser-0.3.0 Rakefile