Add initial support for solr
This commit is contained in:
parent
7bedeefb50
commit
b27871f39a
13 changed files with 131 additions and 31 deletions
|
|
@ -71,7 +71,7 @@ var errBootstrapCreateFile = exit.Error{
|
|||
func (bs cBootstrap) Run(context wisski_distillery.Context) error {
|
||||
// installation environment is the native environment!
|
||||
// TODO: Should this be configurable?
|
||||
var env environment.Native
|
||||
env := new(environment.Native)
|
||||
|
||||
root := bs.Directory
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ func (monday) Description() wisski_distillery.Description {
|
|||
|
||||
func (monday monday) AfterParse() error {
|
||||
// TODO: Use a generic environment here!
|
||||
if !fsx.IsFile(environment.Native{}, monday.Positionals.GraphdbZip) {
|
||||
if !fsx.IsFile(new(environment.Native), monday.Positionals.GraphdbZip) {
|
||||
return errNoGraphDBZip.WithMessageF(monday.Positionals.GraphdbZip)
|
||||
}
|
||||
return nil
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ var errNoGraphDBZip = exit.Error{
|
|||
|
||||
func (s systemupdate) AfterParse() error {
|
||||
// TODO: Use a generic environment here!
|
||||
if !fsx.IsFile(environment.Native{}, s.Positionals.GraphdbZip) {
|
||||
if !fsx.IsFile(new(environment.Native), s.Positionals.GraphdbZip) {
|
||||
return errNoGraphDBZip.WithMessageF(s.Positionals.GraphdbZip)
|
||||
}
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue