1
0
Fork 0

chore: use go generate to create Validate and Merge funcs on RoleConfigs

This commit is contained in:
Arthur K. 2026-02-01 13:14:34 +03:00
parent 28b7993be4
commit c9e93802eb
Signed by: wzray
GPG key ID: B97F30FDC4636357
10 changed files with 236 additions and 200 deletions

View file

@ -1,13 +1,15 @@
all: hivemind hivemind-musl
hivemind:
codegen:
go generate ./...
hivemind: codegen
go build -o build/hivemind ./cmd/hivemind
hivemind-musl:
hivemind-musl: codegen
CC=musl-gcc go build \
-ldflags="-linkmode external -extldflags '-static'" \
-o build/hivemind-musl \
./cmd/hivemind
.phony: all hivemind hivemind-musl
.phony: all codegen hivemind hivemind-musl