Sha256: df228573ed48cbdd4e80350f51d04ca5428047e4484772d2924b982ed06bf05c

Contents?: true

Size: 667 Bytes

Versions: 8

Compression:

Stored size: 667 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']
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

8 entries across 8 versions & 1 rubygems

Version Path
quality-4.0.0 Rakefile
quality-3.1.0 Rakefile
quality-3.0.0 Rakefile
quality-2.1.1 Rakefile
quality-2.1.0 Rakefile
quality-2.0.1 Rakefile
quality-2.0.0 Rakefile
quality-1.3.1 Rakefile