Sha256: 70b5154c74d4400768f78f7b86f7d4bd89abfa49af2d6325393890059d982241
Contents?: true
Size: 845 Bytes
Versions: 3
Compression:
Stored size: 845 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" # Dir.glob('tasks/*.rake').each { |r| import r } require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) require 'solr_wrapper/rake_task' require 'fcrepo_wrapper' require 'active_fedora/rake_support' require 'rubocop/rake_task' namespace :derivatives 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) do |task| task.rspec_opts = "--tag ~requires_kdu_compress" if ENV['TRAVIS'] end desc 'Start up Solr & Fedora and run tests' task :spec do with_test_server do Rake::Task['derivatives:rspec'].invoke end end end desc 'Run continuous integration build' task ci: ['derivatives:rubocop', 'derivatives:spec'] task default: :ci
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hydra-derivatives-3.4.2 | Rakefile |
hydra-derivatives-3.4.1 | Rakefile |
hydra-derivatives-3.4.0 | Rakefile |