refactor!: split main function into commands BREAKING CHANGE: searchix-web requires `serve` argument
1 file changed, 3 insertions(+), 2 deletions(-)
changed files
M internal/importer/main_test.go → internal/importer/main_test.go
@@ -3,12 +3,13 @@ import ( "testing" + "alin.ovh/x/log" + "alin.ovh/searchix/internal/config" "alin.ovh/searchix/internal/file" "alin.ovh/searchix/internal/index" "alin.ovh/searchix/internal/manpages" "alin.ovh/searchix/internal/storage" - "alin.ovh/x/log" ) var cfg = config.DefaultConfig@@ -48,7 +49,7 @@ Manpages: manpages.New(&manpages.Options{ Logger: logger.Named("manpages"), Root: tmp, }), - Offline: false, + Offline: true, Root: tmp, Storage: store, })