From e5c86a1528100e7f3f4018bfc2739ba95eb9472e Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 28 Oct 2025 06:36:15 +0100 Subject: [PATCH] chore: add trimpath and ldflags to build command --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 672e158..42604a9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ GO = go +GOFLAGS = -trimpath -ldflags="-s -w" .PHONY: tetris tetris : - $(GO) build tetris.go + $(GO) build $(GOFLAGS) tetris.go