summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-07-02 18:55:32 +0200
committerRuben Pollan <meskio@sindominio.net>2019-08-05 11:46:04 -0400
commit5b7ca227d66da0ebaca2fc6b02782d98d28e3e58 (patch)
tree9e12339e472f9096e0f96b3e2e7e1cb9fdf7930a
parenteead4d0046995c11314347b5963a7b4770a1c86e (diff)
[feat] strip built binaries
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9f11a76..513c0eb 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)" ./...