Link statically

This commit is contained in:
Igor Chubin 2022-12-23 14:08:39 +01:00
parent 302b00ee7d
commit 54b5bfc64d

View File

@ -1,5 +1,5 @@
srv: srv.go internal/*/*.go internal/*/*/*.go
go build -o srv ./
go build -o srv -ldflags '-w -linkmode external -extldflags "-static"' ./
go-test:
go test ./...