Sha256: da10cca1658cf7890390cca84709628d4ec804fef0cc27e3244cb63117eafa4a

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

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']
  cli = Rubocop::CLI.new
  fail unless cli.run(args) == 0
end

task default: :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docparser-0.1.4 Rakefile
docparser-0.1.3 Rakefile