diff --git a/Makefile b/Makefile index a2d1d432..dceeefd0 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ ABRA := ./cmd/abra COMMIT := $(shell git rev-list -1 HEAD) GOPATH := $(shell go env GOPATH) VERSION := $(shell cat ./version) -LDFLAGS := "-X 'main.Commit=$(COMMIT)' -X 'main.Version=$(VERSION)'" +LDFLAGS := "-X 'main.Commit=$(COMMIT)' -X 'main.Version=$(VERSION)' -s -w" all: run test install build clean format check static