Sha256: 71d60d68f00a1aafbb8946626f81bd3d270034e67a0be964926b0a69e14151d1

Contents?: true

Size: 686 Bytes

Versions: 22

Compression:

Stored size: 686 Bytes

Contents

require 'rake/clean'
require 'bundler/gem_tasks'
require 'quality/rake/task'

$LOAD_PATH.unshift File.dirname(__FILE__) + '/lib'

PROJECT_NAME = 'quality'

BUILD_DIR = 'build'
directory BUILD_DIR

PKG_DIR = "#{BUILD_DIR}/pkg"
directory PKG_DIR

GEM_MANIFEST = 'Manifest.txt'
VERSION_FILE = 'lib/quality.rb'

CLOBBER.include("#{BUILD_DIR}/*")

Dir['tasks/**/*.rake'].each { |t| load t }

Quality::Rake::Task.new do |t|
  t.skip_tools = ['reek']
  t.verbose = true
end

task :clear_metrics do |_t|
  puts Time.now
  ret = system('git checkout coverage/.last_run.json *_high_water_mark')
  fail unless ret
end

task localtest: [:clear_metrics, :test, :quality]

task default: [:localtest]

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
quality-4.0.2 Rakefile
quality-4.0.1 Rakefile