Sha256: 94a300200f7daa3825954b52c9a45b31a443c39bf2cd293108fff0a440cd75b1

Contents?: true

Size: 500 Bytes

Versions: 2

Compression:

Stored size: 500 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/dmapparser'
  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', 'dmapparser.gemspec', 'Gemfile']
  cli = Rubocop::CLI.new
  fail unless cli.run(['-a'] + args) == 0
end

task default: :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dmapparser-0.0.2 Rakefile
dmapparser-0.0.1 Rakefile