From e9eed3ddc4229db707cccb30beddde15044eff16 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 24 May 2024 18:31:56 +0200 Subject: refactor: split server cmd and module It should now be possible to run the server from inside another go application by importing the main module and running its Start() function --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index 3e63590..f5c6682 100644 --- a/justfile +++ b/justfile @@ -21,10 +21,10 @@ precommit: nix-build -A pre-commit-check dev: - watchexec --no-vcs-ignore --filter "**/*.go" --filter config.toml -r wgo run -exit ./ --live --config config.toml + watchexec --no-vcs-ignore --filter "**/*.go" --filter config.toml -r wgo run -exit ./cmd/searchix-web --live --config config.toml reindex: - wgo run --exit . --config config.toml --replace + wgo run --exit ./cmd/searchix-web --config config.toml --replace update: - wgo run --exit . --config config.toml --update + wgo run --exit ./cmd/searchix-web --config config.toml --update -- cgit 1.4.1