Sha256: 0db1ada197ade8e0138d255f769108ea63977838f054b38e210de70afbb569b8
Contents?: true
Size: 905 Bytes
Versions: 5
Compression:
Stored size: 905 Bytes
Contents
require 'bundler/gem_tasks' 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 } 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
curation_concerns-0.12.0.pre1 | Rakefile |
curation_concerns-0.11.0 | Rakefile |
curation_concerns-0.11.0.rc1 | Rakefile |
curation_concerns-0.10.0 | Rakefile |
curation_concerns-0.9.0 | Rakefile |