From a1530855a3a762661dd1d78ca28fdfddc32e797f Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Tue, 19 Apr 2016 09:50:46 -0700 Subject: [PATCH] Build release binaries in release mode This strips debug information from the binaries, making them slightly smaller. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 083085560..de7aa27e9 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ default: test vet # bin generates the releaseable binaries for Terraform bin: fmtcheck generate - @sh -c "'$(CURDIR)/scripts/build.sh'" + @TF_RELEASE=1 sh -c "'$(CURDIR)/scripts/build.sh'" # dev creates binaries for testing Terraform locally. These are put # into ./bin/ as well as $GOPATH/bin