-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
23 lines (17 loc) · 919 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
# Access to APP_CONFIG hash of per-environment settings
require File.join(Rails.root.to_s, 'config', 'initializers/aaa_load_app_config.rb')
Rails.application.load_tasks
# Make the GeoCombine rake tasks available to our app
# So that we can now do, e.g.:
# bundle exec rake geocombine:clone
# bundle exec rake geocombine:clone
# bundle exec rake geocombine:index
# GeoCombine assumes SOLR_URL is found as an ENV variable
ENV['SOLR_URL'] = Blacklight.connection_config[:url]
spec = Gem::Specification.find_by_name 'geo_combine'
load "#{spec.gem_dir}/lib/tasks/geo_combine.rake"
# ZIP_URL = "https://github.com/projectblacklight/blacklight-jetty/archive/v4.10.3.zip"
# require 'jettywrapper'