Sha256: 6fe17b4ac44befed23062d0b6415990dae01b1328061cc120d421e8916a1ba5c

Contents?: true

Size: 829 Bytes

Versions: 7

Compression:

Stored size: 829 Bytes

Contents

# frozen_string_literal: true

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

RSpec::Core::RakeTask.new(:spec)

task default: :spec

# Configure all code statistics directories
Countless.configure do |config|
  config.stats_base_directories = [
    { name: 'Top-levels', dir: 'lib',
      pattern: %r{/lib(/boltless)?/[^/]+\.rb$} },
    { name: 'Top-levels specs', test: true, dir: 'spec',
      pattern: %r{/spec(/boltless)?/[^/]+_spec\.rb$} },
    { name: 'Extensions', pattern: 'lib/boltless/extensions/**/*.rb' },
    { name: 'Extensions specs', test: true,
      pattern: 'spec/boltless/extensions/**/*_spec.rb' },
    { name: 'Errors', pattern: 'lib/boltless/errors/**/*.rb' },
    { name: 'Errors specs', test: true,
      pattern: 'spec/boltless/errors/**/*_spec.rb' }
  ]
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
boltless-1.4.4 Rakefile
boltless-1.4.3 Rakefile
boltless-1.4.2 Rakefile
boltless-1.4.1 Rakefile
boltless-1.4.0 Rakefile
boltless-1.3.0 Rakefile
boltless-1.2.0 Rakefile