Build release binaries in release mode
This strips debug information from the binaries, making them slightly smaller.
This commit is contained in:
parent
f44706c661
commit
a1530855a3
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ default: test vet
|
||||||
|
|
||||||
# bin generates the releaseable binaries for Terraform
|
# bin generates the releaseable binaries for Terraform
|
||||||
bin: fmtcheck generate
|
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
|
# dev creates binaries for testing Terraform locally. These are put
|
||||||
# into ./bin/ as well as $GOPATH/bin
|
# into ./bin/ as well as $GOPATH/bin
|
||||||
|
|
Loading…
Reference in New Issue