1
0
Fork 0

chore: add trimpath and ldflags to build command

This commit is contained in:
Henrik Hautakoski 2025-10-28 06:36:15 +01:00
parent 8a02249845
commit e5c86a1528

View file

@ -1,6 +1,7 @@
GO = go
GOFLAGS = -trimpath -ldflags="-s -w"
.PHONY: tetris
tetris :
$(GO) build tetris.go
$(GO) build $(GOFLAGS) tetris.go