Sha256: 36bb9141b078b94fbb5491b52b4ae904e466f35c7cc42132740c35d1863f3380

Contents?: true

Size: 968 Bytes

Versions: 2

Compression:

Stored size: 968 Bytes

Contents

ENV['BUNDLE_GEMFILE'] ||= File.expand_path('Gemfile', __dir__)
require 'bundler/setup' # Set up gems listed in the Gemfile.

# ------------------------------------------------------------
# Application code

File.expand_path('lib', __dir__).tap do |lib|
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
end

# ------------------------------------------------------------
# RSpec

require 'rspec/core/rake_task'
require 'ci/reporter/rake/rspec'

ENV['CI_REPORTS'] ||= File.expand_path('artifacts', __dir__)

namespace :spec do
  desc 'Run all tests'
  RSpec::Core::RakeTask.new(:all) do |task|
    task.rspec_opts = %w[--color --format documentation --order default]
    task.pattern = 'spec/**/*_spec.rb'
  end
end

desc 'Run all tests'
task spec: ['spec:all']

# ------------------------------------------------------------
# Custom tasks

desc 'Run tests, check test coverage, check code style'
task default: %i[coverage rubocop bundle:audit]

# TODO: YARD

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
text-checkm-0.8 Rakefile
text-checkm-0.7 Rakefile