Sha256: 1992d8ce4f0a470b4a2560721689ff1191f3c12a29a4cb0fd4255b691c0d52b9

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 Bytes

Contents

require 'rake/testtask'
require 'cane/rake_task'
require "simplecov"

import 'lib/tasks/hqmf.rake'

Rake::TestTask.new(:test_unit) do |t|
  t.libs << "test"
  t.test_files = FileList['test/**/*_test.rb']
  t.verbose = true
end

Cane::RakeTask.new(:quality) do |cane|
  cane.abc_max = 45
  # cane.add_threshold 'coverage/covered_percent', :>=, 97
  cane.style_measure = 120
  cane.no_style = true
  cane.no_doc = true
end

task :test => [:test_unit, :quality] do

  system("open coverage/index.html")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
health-data-standards-3.1.1 Rakefile
health-data-standards-3.1.0 Rakefile