Sha256: 66f5b8cf548e275ff50fa26a98b2b8f3596d482753df20435598e191dec93559

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec, %i[dir file]) do |spec, args|
  args.with_defaults dir: '*', file: '*_spec.rb'
  spec.pattern = "spec/#{args[:dir]}/**/#{args[:file]}"
end

require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.options << '--display-cop-names'
  task.options << '--parallel'
end

task default: %i[rubocop spec]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
svcbase-0.1.18 Rakefile
svcbase-0.1.17 Rakefile
svcbase-0.1.16 Rakefile