Sha256: 4b48616790d40d1f20baa516b5d3c4773b135a76107c52b6f2cb0c9929873481
Contents?: true
Size: 924 Bytes
Versions: 4
Compression:
Stored size: 924 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_imagemagick --tag ~requires_ffmpeg --tag ~requires_libreoffice --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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hydra-derivatives-3.3.2 | Rakefile |
hydra-derivatives-3.3.1 | Rakefile |
hydra-derivatives-3.3.0 | Rakefile |
hydra-derivatives-3.2.2 | Rakefile |