Sha256: ebc0314e350cdb66e2e03faf764a8021a1d7c51a7b9d63f0d8cb067fb359a0aa

Contents?: true

Size: 511 Bytes

Versions: 9

Compression:

Stored size: 511 Bytes

Contents

require 'rspec/core'
require 'rspec/core/rake_task'
require 'jettywrapper'
require 'engine_cart/rake_task'

Jettywrapper.hydra_jetty_version = "v8.1.0"

RSpec::Core::RakeTask.new(:spec)

desc 'Spin up hydra-jetty and run specs'
task ci: ['engine_cart:clean', 'engine_cart:generate', 'jetty:clean'] do
  puts 'running continuous integration'
  jetty_params = Jettywrapper.load_config
  error = Jettywrapper.wrap(jetty_params) do
    Rake::Task['spec'].invoke
  end
  raise "test failures: #{error}" if error
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hydra-collections-5.0.0 tasks/hydra-collections-dev.rake
hydra-collections-4.0.0 tasks/hydra-collections-dev.rake
hydra-collections-4.0.0.rc3 tasks/hydra-collections-dev.rake
hydra-collections-4.0.0.rc2 tasks/hydra-collections-dev.rake
hydra-collections-4.0.0.rc1 tasks/hydra-collections-dev.rake
hydra-collections-4.0.0.beta4 tasks/hydra-collections-dev.rake
hydra-collections-4.0.0.beta3 tasks/hydra-collections-dev.rake
hydra-collections-4.0.0.beta2 tasks/hydra-collections-dev.rake
hydra-collections-4.0.0.beta1 tasks/hydra-collections-dev.rake