Sha256: 4594a58f3d75ca6573c72844d88c96caf804472f96d9af13b4db8a23f72612ac

Contents?: true

Size: 831 Bytes

Versions: 9

Compression:

Stored size: 831 Bytes

Contents

require 'solr_wrapper'
require 'fcrepo_wrapper'

namespace :geo_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_server 'test' do
      Rake::Task['geo_concerns:rspec'].invoke
    end
  end
  desc "Run development servers for Geo Concerns"
  task :dev_servers do
    with_server 'development' do
      begin
        Rake::Task['engine_cart:server'].invoke
      rescue Interrupt
        puts "Shutting down..."
      end
    end
  end
  desc "Run test servers for Geo Concerns"
  task :test_servers do
    with_server 'test' do
      begin
        sleep
      rescue Interrupt
        puts "Shutting down..."
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
geo_concerns-0.3.4 tasks/geo_concerns.rake
geo_concerns-0.3.3 tasks/geo_concerns.rake
geo_concerns-0.3.2 tasks/geo_concerns.rake
geo_concerns-0.3.1 tasks/geo_concerns.rake
geo_concerns-0.3.0 tasks/geo_concerns.rake
geo_concerns-0.2.0 tasks/geo_concerns.rake
geo_concerns-0.1.1 tasks/geo_concerns.rake
geo_concerns-0.1.0 tasks/geo_concerns.rake
geo_concerns-0.0.10 tasks/geo_concerns.rake