cirandas.net

ref: master

plugins/solr/install.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
if ENV['CI']
  system 'script/noosfero-plugins -q enable products'
end

require 'rake'
tasks_dir = File.join(File.dirname(__FILE__), 'vendor', 'plugins', 'acts_as_solr_reloaded', 'lib', 'tasks', '*.rake')
Dir[tasks_dir].each do |file|
  load file
end

puts 'To download solr:'
puts '$ cd plugins/solr'
puts '$ rake solr:download'