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-17.1.0 Rakefile
quality-17.0.0 Rakefile
quality-16.0.1 Rakefile
quality-16.0.0 Rakefile
quality-15.0.1 Rakefile
quality-15.0.0 Rakefile
quality-14.1.0 Rakefile
quality-14.0.0 Rakefile
quality-13.0.0 Rakefile
quality-12.0.0 Rakefile
quality-11.0.0 Rakefile
quality-10.0.0 Rakefile
quality-9.0.0 Rakefile
quality-8.1.1 Rakefile
quality-8.1.0 Rakefile
quality-8.0.0 Rakefile
quality-7.0.0 Rakefile
quality-6.0.0 Rakefile
quality-5.0.1 Rakefile
quality-5.0.0 Rakefile