Sha256: 250efe9a1db8d2ad29d545f32610dc91638c91f78fae5e5050207cf15ad2deb6
Contents?: true
Size: 911 Bytes
Versions: 34
Compression:
Stored size: 911 Bytes
Contents
require 'bundler/setup' require 'rspec/core/rake_task' require 'engine_cart/rake_task' require 'rubocop/rake_task' require 'solr_wrapper' require 'fcrepo_wrapper' require 'active_fedora/rake_support' Dir.glob('tasks/*.rake').each { |r| import r } Bundler::GemHelper.install_tasks namespace :curation_concerns do desc 'Run style checker' RuboCop::RakeTask.new(:rubocop) do |task| task.requires << 'rubocop-rspec' task.fail_on_error = true end RSpec::Core::RakeTask.new(:rspec) desc 'Run test suite' task :spec do with_test_server do Rake::Task['curation_concerns:rspec'].invoke end end end desc 'Run test suite and style checker' task spec: ['curation_concerns:rubocop', 'curation_concerns:spec'] desc 'Spin up Solr & Fedora and run the test suite' task ci: ['engine_cart:generate'] do Rake::Task['spec'].invoke end task clean: 'engine_cart:clean' task default: :ci
Version data entries
34 entries across 34 versions & 1 rubygems