Sha256: 2fcedea583947fafe2b6f25463d8b3b3b0c98501bf80790d3a3ef03685bf9c05

Contents?: true

Size: 510 Bytes

Versions: 5

Compression:

Stored size: 510 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))

require 'rspec/core'
require 'rspec/core/rake_task'

desc 'Run all specs in spec directory'
task :run_specs do
  require 'rspec/core'

  RSpec::Core::Runner.run(['spec/integration', 'spec/unit'])
  RSpec.clear_examples
  Dir[SPEC_ROOT.join('shared/**/*.rb')].each(&method(:load))

  Dry::Validation.load_extensions(:monads, :struct)
  RSpec::Core::Runner.run(['spec'])
end

task default: :run_specs

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dry-validation-0.10.4 Rakefile
dry-validation-0.10.3 Rakefile
dry-validation-0.10.2 Rakefile
dry-validation-0.10.1 Rakefile
dry-validation-0.10.0 Rakefile