Build release binaries in release mode

This strips debug information from the binaries, making them slightly
smaller.
This commit is contained in:
Martin Atkins 2016-04-19 09:50:46 -07:00
parent f44706c661
commit a1530855a3
1 changed files with 1 additions and 1 deletions

View File

@ -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