Sha256: 530fbc4f503fc2cf89d29c1449a740e4b6c0103e055486972cf54a7ca6484a1a

Contents?: true

Size: 627 Bytes

Versions: 2

Compression:

Stored size: 627 Bytes

Contents

# frozen_string_literal: true

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

abort 'Please run rake using `bundle exec`' unless %w[BUNDLE_BIN_PATH BUNDLE_GEMFILE].any? { |k| ENV.key?(k) }

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

require 'rubocop/rake_task'

RuboCop::RakeTask.new

task default: %i[rubocop:auto_correct spec]

## Documentation Coverage
require 'yardstick/rake/measurement'
require 'yardstick/rake/verify'

Yardstick::Rake::Measurement.new(:yardstick_measure) do |measurement|
  measurement.output = 'coverage/yard-coverage.txt'
end

Yardstick::Rake::Verify.new do |verify|
  verify.threshold = 91.9
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xliff-1.0.3 Rakefile
xliff-1.0.0 Rakefile