improve unix socket support, always embed commit

This commit is contained in:
Laptop
2025-06-18 22:34:38 +03:00
parent 3d96470a05
commit a0551d742b
8 changed files with 66 additions and 13 deletions

2
build
View File

@@ -1,3 +1,3 @@
templ generate
go generate ./lib/*
go build main.go
go build -ldflags "-X git.maid.zone/stuff/soundcloak/lib/cfg.Commit=`git rev-parse HEAD | head -c 7` -X git.maid.zone/stuff/soundcloak/lib/cfg.Repo=`git remote get-url origin`" main.go