Sha256: f5acfc526bdd244cc42bc099b2d2654cf169a89fca8e49e87e1be200ed319ec5

Contents?: true

Size: 548 Bytes

Versions: 2

Compression:

Stored size: 548 Bytes

Contents

require "bundler/gem_tasks"
require 'jettywrapper'
require 'rspec/core'
require 'rspec/core/rake_task'
require 'engine_cart/rake_task'

RSpec::Core::RakeTask.new(:spec)
Jettywrapper.hydra_jetty_version = "master"

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

2 entries across 2 versions & 1 rubygems

Version Path
hydra-works-0.1.0 Rakefile
hydra-works-0.0.1 Rakefile