Sha256: af42ef026428c9a6d272b4837fd0dfeb4f81c72b77d792c45aa52234d06db178

Contents?: true

Size: 468 Bytes

Versions: 5

Compression:

Stored size: 468 Bytes

Contents

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

require 'jettywrapper'

require 'engine_cart/rake_task'

desc 'Spin up hydra-jetty and run specs'
task ci: ['engine_cart:generate', 'jetty:clean', 'sufia:jetty:config'] 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

5 entries across 5 versions & 1 rubygems

Version Path
sufia-6.2.0 tasks/sufia-dev.rake
sufia-6.1.0 tasks/sufia-dev.rake
sufia-6.0.0 tasks/sufia-dev.rake
sufia-6.0.0.rc4 tasks/sufia-dev.rake
sufia-6.0.0.rc3 tasks/sufia-dev.rake