Rakefile in quality-0.2.12 vs Rakefile in quality-1.0.0
- old
+ new
@@ -1,7 +1,8 @@
require 'rake/clean'
require "bundler/gem_tasks"
+require 'quality/rake/task'
$:.unshift File.dirname(__FILE__) + '/lib'
PROJECT_NAME = 'quality'
@@ -15,5 +16,17 @@
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]