Sha256: 03dd28ef7eb20f283e5b84c0e43251d9b124de17ec7bcd3fcdb26dab13af4a07

Contents?: true

Size: 487 Bytes

Versions: 6

Compression:

Stored size: 487 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

  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

6 entries across 6 versions & 1 rubygems

Version Path
dry-validation-0.11.2 Rakefile
dry-validation-0.11.1 Rakefile
dry-validation-0.11.0 Rakefile
dry-validation-0.10.7 Rakefile
dry-validation-0.10.6 Rakefile
dry-validation-0.10.5 Rakefile