Sha256: b4832abc5737c8471adec11c3f3cf4e48d697fddb680c34e38da4534fabc9e7f

Contents?: true

Size: 634 Bytes

Versions: 4

Compression:

Stored size: 634 Bytes

Contents

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

$:.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 }

task :default => [:test]

Quality::Rake::Task.new

task :clear_metrics do |t|
  puts Time.now
  ret =
    system("git checkout coverage/.last_run.json *_high_water_mark")
  if !ret
    fail
  end
end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
quality-1.2.0 Rakefile
quality-1.1.1 Rakefile
quality-1.1.0 Rakefile
quality-1.0.0 Rakefile