all repos — searchix @ 4278551c28c5bcc87ed0754b67413b57d5c17e72

Search engine for NixOS, nix-darwin, home-manager and NUR users

build: allow passing flags to just {reindex,update}
Alan Pearce alan@alanpearce.eu
Fri, 24 Jan 2025 12:55:06 +0100
commit

4278551c28c5bcc87ed0754b67413b57d5c17e72

parent

200857159766d3c6c5831450048348444c5666f4

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M justfilejustfile
@@ -52,8 +52,8 @@ dev:
 	modd
 
-reindex:
-	wgo run --exit ./cmd/searchix-web --config config.toml --replace --dev
+reindex *flags:
+	wgo run --exit ./cmd/searchix-web --config config.toml --replace --dev {{ flags }}
 
-update:
-	wgo run --exit ./cmd/searchix-web --config config.toml --update --dev
+update *flags:
+	wgo run --exit ./cmd/searchix-web --config config.toml --update --dev {{ flags }}