Sha256: b07a980008d354aab2fc1a5e290d9bb0f4a19261283b5f1ea8fbc39739ebcc05

Contents?: true

Size: 623 Bytes

Versions: 25

Compression:

Stored size: 623 Bytes

Contents

#!/usr/bin/env ruby

require 'optparse'
require File.join(File.dirname(__FILE__), '..', 'lib', 'sunspot', 'installer')

home = ARGV.select { |arg| arg !~ /^-/ }.last || Dir.pwd
options = {}

OptionParser.new do |opts|
  opts.banner = "Usage: sunspot-install [options] [solr-home]"
  opts.on('-v', '--[no-]verbose', 'Run verbosely') do |v|
    options[:verbose] = v
  end
  opts.on('-f', '--[no-]force', 'Overwrite schema and solrconfig files with Sunspot default, instead of modifying them (recommended for new Solr installation)') do |f|
    options[:force] = f
  end
end.parse!

Sunspot::Installer.execute(home, options)

Version data entries

25 entries across 25 versions & 7 rubygems

Version Path
pduey-sunspot-1.2.1.1 bin/sunspot-installer
erichummel-sunspot-1.2.1g bin/sunspot-installer
erichummel-sunspot-1.2.1f bin/sunspot-installer
erichummel-sunspot-1.2.1b bin/sunspot-installer
erichummel-sunspot-1.2.1a bin/sunspot-installer
erichummel-sunspot-1.2.1 bin/sunspot-installer
lisausa-sunspot-1.2.1.1 bin/sunspot-installer
lisausa-sunspot-1.2.1 bin/sunspot-installer
sunspot_rbg-1.3.1 bin/sunspot-installer
sunspot_rbg-1.3.0 bin/sunspot-installer
ruben-sunspot-1.1.4 bin/sunspot-installer
ruben-sunspot-1.1.3 bin/sunspot-installer
ruben-sunspot-1.1.2 bin/sunspot-installer
sunspot-1.2.1 bin/sunspot-installer
sunspot-1.2.0 bin/sunspot-installer
ruben-sunspot-1.1.1 bin/sunspot-installer
ruben-sunspot-1.1.0 bin/sunspot-installer
nuatt_sunspot-1.1.0.3 bin/sunspot-installer
sunspot-1.1.0 bin/sunspot-installer
sunspot-1.0.5 bin/sunspot-installer