Sha256: 0478dbbda6ec8b80011f1686e60bf58fadc3facb425af7fb509d97630e967f95

Contents?: true

Size: 560 Bytes

Versions: 3

Compression:

Stored size: 560 Bytes

Contents

require "bundler/gem_tasks"
require 'bundler/setup'
APP_ROOT="." # for jettywrapper

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
Dir.glob('tasks/*.rake').each { |r| import r }

require 'jettywrapper'
require 'engine_cart/rake_task'

task ci: ['engine_cart:generate', 'jetty:clean'] do
  ENV['environment'] = "test"
  jetty_params = Jettywrapper.load_config
  jetty_params[:startup_wait]= 90

  Jettywrapper.wrap(jetty_params) do
    # run the tests
    Rake::Task["spec"].invoke
  end
end

task clean: 'engine_cart:clean'
task default: :ci

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
worthwhile-0.1.2 Rakefile
worthwhile-0.1.1 Rakefile
worthwhile-0.1.0 Rakefile