Sha256: 104ef2a6b47717d3ae2bcc90eea5cf0fa0ee32a4bbd554ad5ad42c9379a8bf1d

Contents?: true

Size: 517 Bytes

Versions: 3

Compression:

Stored size: 517 Bytes

Contents

require "bundler/gem_tasks"


require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

require 'jettywrapper'
Jettywrapper.hydra_jetty_version = "v8.3.0"

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


task default: :ci

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activefedora-aggregation-0.2.1 Rakefile
activefedora-aggregation-0.2.0 Rakefile
activefedora-aggregation-0.1.0 Rakefile