Skip to content

Commit

Permalink
add solr5 generator
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed committed Aug 5, 2016
1 parent 7c38e2c commit 54ffe71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/generators/geoblacklight/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ class Install < Rails::Generators::Base

desc 'Install Geoblacklight'

def add_solr_wrapper
generate 'blacklight:solr5'
end

def mount_geoblacklight_engine
route "mount Geoblacklight::Engine => 'geoblacklight'"
end
Expand Down
1 change: 1 addition & 0 deletions lib/tasks/geoblacklight.rake
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'solr_wrapper'
require 'rails/generators'
require 'generators/geoblacklight/install_generator'

Expand Down

0 comments on commit 54ffe71

Please sign in to comment.