Sha256: 516dfd96189814807a213551b6596c30d577dcca0065c5461f643e7a8dd16e27

Contents?: true

Size: 830 Bytes

Versions: 8

Compression:

Stored size: 830 Bytes

Contents

# frozen_string_literal: true

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

# TODO: This is just for testing purposes
#       here. Keep it exactly like that.

RSpec::Core::RakeTask.new(:spec).tap do |task|
  task.exclude_pattern = 'spec/fixtures/**/*'
end

task default: :spec

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
countless-1.3.4 Rakefile
countless-1.3.3 Rakefile
countless-1.3.2 Rakefile
countless-1.3.1 Rakefile
countless-1.3.0 Rakefile
countless-1.2.0 Rakefile
countless-1.1.0 Rakefile
countless-1.0.0 Rakefile