about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2025-01-24 12:55:06 +0100
committerAlan Pearce2025-01-24 13:04:41 +0100
commit4278551c28c5bcc87ed0754b67413b57d5c17e72 (patch)
treef28974c95e4507eebbb2f21ab85f030ebaecc5e3
parent200857159766d3c6c5831450048348444c5666f4 (diff)
downloadsearchix-4278551c28c5bcc87ed0754b67413b57d5c17e72.tar.lz
searchix-4278551c28c5bcc87ed0754b67413b57d5c17e72.tar.zst
searchix-4278551c28c5bcc87ed0754b67413b57d5c17e72.zip
build: allow passing flags to just {reindex,update}
-rw-r--r--justfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/justfile b/justfile
index dfa7bec..3d16fbc 100644
--- a/justfile
+++ b/justfile
@@ -52,8 +52,8 @@ release: clean-workdir changelog update-nix-package-version
 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 }}