all repos — searchix @ e4ca1ed2d0faeae38446e482bf837305d7342cb0

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

build: show version in development
Alan Pearce alan@alanpearce.eu
Sat, 22 Mar 2025 21:06:27 +0100
commit

e4ca1ed2d0faeae38446e482bf837305d7342cb0

parent

03fa0eb00aef448bec05280a121c659a600fc13f

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

jump to
M modd.confmodd.conf
@@ -3,5 +3,5 @@ prep +onchange: "just reindex" }
 
 **/*.go config.toml {
-  daemon +sigint: go run ./cmd/searchix-web --dev --config config.toml
+  daemon +sigint: go run -ldflags="-X go.alanpearce.eu/searchix/internal/config.Version=$(git describe --tags --abbrev=0)" ./cmd/searchix-web --dev --config config.toml
 }