mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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: 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
|
||||
|
Loading…
Reference in New Issue
Block a user