Sha256: 2c66551670eee20a080cdcb354f36864d0b6f4f1ade60d254c690d0adcd02b26

Contents?: true

Size: 981 Bytes

Versions: 11

Compression:

Stored size: 981 Bytes

Contents

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

################################
# Tests                        #
################################

RSpec::Core::RakeTask.new
task test: :spec

################################
# Rubocop                      #
################################

require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop) do |t|
  t.options = ['--config', 'rubocop.yml']
end

################################
# Documentation                #
################################

require 'yard'
YARD::Rake::YardocTask.new do |t|
  t.stats_options = ['--list-undoc']
end

yardstick_options = YAML.load_file('yardstick.yml')

require 'yardstick/rake/measurement'
Yardstick::Rake::Measurement.new(:measurement, yardstick_options) do |measurement|
  measurement.output = 'measurement/report.txt'
end

################################
# Defaults                     #
################################

task default: %i[spec rubocop]

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
yoti_sandbox-1.2.1 Rakefile
yoti_sandbox-1.2.0 Rakefile
yoti_sandbox-1.1.0 Rakefile
yoti_sandbox-1.0.0 Rakefile
yoti-1.5.0 Rakefile
yoti-1.4.0 Rakefile
yoti-1.3.1 Rakefile
yoti-1.3.0 Rakefile
yoti-1.2.1 Rakefile
yoti-1.2.0 Rakefile
yoti-1.1.0 Rakefile