Sha256: 3daf364c13615f291fb3d0bf48816346dff4da52c580c3aabcb811d100b73e57

Contents?: true

Size: 472 Bytes

Versions: 6

Compression:

Stored size: 472 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rubocop/rake_task'

Dir['lib/fhir_models/tasks/**/*.rake'].each do |file|
  load file
end

desc 'Run basic tests'
Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.test_files = FileList['test/**/*_test.rb']
  t.verbose = true
  t.warning = false
end

desc 'Run rubocop'
task :rubocop do
  RuboCop::RakeTask.new
end

task test: [:rubocop] do
  system('open coverage/index.html')
end

task default: [:test]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fhir_models-1.8.2 Rakefile
fhir_models-1.8.1 Rakefile
fhir_models-1.8.0 Rakefile
fhir_models-1.6.8 Rakefile
fhir_models-1.6.7 Rakefile
fhir_models-1.6.6 Rakefile