Sha256: 9869470e44981db3dcfff118e42c349f72f3008c89b922e7a3c6ed76c109d9ed

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

require 'rspec/core'
require 'rspec/core/rake_task'
require 'solr_wrapper'
require 'fcrepo_wrapper'
require 'engine_cart/rake_task'
require 'active_fedora/rake_support'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.rspec_opts = ['--backtrace'] if ENV['CI']
end

desc 'Start solr, fcrepo, and run specs'
task ci: ['engine_cart:generate'] do
  puts 'running continuous integration'
  with_test_server do
    Rake::Task['spec'].invoke
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hydra-collections-8.2.0 tasks/hydra-collections-dev.rake
hydra-collections-8.1.1 tasks/hydra-collections-dev.rake
hydra-collections-8.1.0 tasks/hydra-collections-dev.rake
hydra-collections-8.0.0 tasks/hydra-collections-dev.rake