Sha256: 40f3d71a2b802876c80f061000c7d43d20f8f9427dd15082ee02c34628baf258

Contents?: true

Size: 797 Bytes

Versions: 3

Compression:

Stored size: 797 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
        sleep
      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

3 entries across 3 versions & 1 rubygems

Version Path
geo_concerns-0.0.9 tasks/geo_concerns.rake
geo_concerns-0.0.8 tasks/geo_concerns.rake
geo_concerns-0.0.7 tasks/geo_concerns.rake