Sha256: ac4e8256d11df963e8bb4177c8e3dc0f0bab33e0525df09a5acb61f18f9c597f

Contents?: true

Size: 610 Bytes

Versions: 5

Compression:

Stored size: 610 Bytes

Contents

require 'rspec/core'
require 'rspec/core/rake_task'

require 'jettywrapper'

import 'lib/tasks/jetty.rake'

MARMOTTA_HOME = ENV['MARMOTTA_HOME'] ||
  File.expand_path(File.join(Jettywrapper.app_root, 'marmotta'))

Jettywrapper.url =
  'https://github.com/dpla/marmotta-jetty/archive/3.3.0-solr-4.9.0.zip'

desc "Run all specs in spec directory"
task :ci => ['jetty:clean'] do
  Jettywrapper.wrap(quiet: true, jetty_port: 8983, :startup_wait => 30) do
    Rake::Task["spec"].invoke
  end
end

desc "Run all specs in spec directory (excluding plugin specs)"
RSpec::Core::RakeTask.new(:spec)
task :default => :ci

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rdf-marmotta-0.1.1 Rakefile
rdf-marmotta-0.1.0 Rakefile
rdf-marmotta-0.0.8 Rakefile
rdf-marmotta-0.0.7 Rakefile
rdf-marmotta-0.0.6 Rakefile