Skip to content

Commit

Permalink
build: add GOEXPERIMENT=loopvar to build+install directives
Browse files Browse the repository at this point in the history
The prior commit made sure that no unit tests failed with the new logic
applied. We'll also update our build+install commands so all the
binaries are built with the new loop semantics.
  • Loading branch information
Roasbeef committed Oct 4, 2023
1 parent 665f4ef commit c796ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ MIGRATE_BIN := $(GO_BIN)/migrate

COMMIT := $(shell git describe --tags --dirty)

GOBUILD := GO111MODULE=on go build -v
GOINSTALL := GO111MODULE=on go install -v
GOBUILD := GOEXPERIMENT=loopvar GO111MODULE=on go build -v
GOINSTALL := GOEXPERIMENT=loopvar GO111MODULE=on go install -v
GOTEST := GOEXPERIMENT=loopvar GO111MODULE=on go test
GOMOD := GO111MODULE=on go mod

Expand Down

0 comments on commit c796ba2

Please sign in to comment.