Sha256: 1f0d81e1a27ce22975e9e2d93fea67f4a39a7155f9766a8680f113608643ca12
Contents?: true
Size: 1.08 KB
Versions: 9
Compression:
Stored size: 1.08 KB
Contents
begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end ZIP_URL = 'https://github.com/projectblacklight/blacklight-jetty/archive/v4.10.4.zip' Bundler::GemHelper.install_tasks task default: [:ci, :rubocop] require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) require 'rubocop/rake_task' RuboCop::RakeTask.new(:rubocop) require 'jettywrapper' require 'engine_cart/rake_task' require 'exhibits_solr_conf' desc 'Run tests in generated test Rails app with generated Solr instance running' task ci: ['engine_cart:generate', 'jetty:clean', 'exhibits:configure_solr'] do ENV['environment'] = 'test' jetty_params = Jettywrapper.load_config jetty_params[:startup_wait] = 60 Jettywrapper.wrap(jetty_params) do # run the tests Rake::Task['spec'].invoke end end require 'rdoc/task' RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Spotlight::Dor::Resources' rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
9 entries across 9 versions & 1 rubygems