From 5b7ca227d66da0ebaca2fc6b02782d98d28e3e58 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" <kali@leap.se> Date: Tue, 2 Jul 2019 18:55:32 +0200 Subject: [PATCH] [feat] strip built binaries --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 9f11a76e..513c0eb1 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,7 @@ build: $(foreach path,$(wildcard cmd/*),build_$(patsubst cmd/%,%,$(path))) build_%: go build -tags $(TAGS) -ldflags "-X main.version=`git describe --tags`" -o $* ./cmd/$* + strip $* test: go test -tags "integration $(TAGS)" ./... -- GitLab