Remove GO111MODULE flag when installing goose in makefile

Passing GO111MODULE=off with go get throws error. The CI fails due to this when using the makefile.
This commit is contained in:
nabarun 2022-03-21 17:07:46 +05:30
parent a500c1a49a
commit 679f3e8d79

View File

@ -8,7 +8,7 @@ BIN = $(GOPATH)/bin
## Migration tool ## Migration tool
GOOSE = $(BIN)/goose GOOSE = $(BIN)/goose
$(BIN)/goose: $(BIN)/goose:
GO111MODULE=off go get -u github.com/pressly/goose/cmd/goose go get -u github.com/pressly/goose/cmd/goose
.PHONY: installtools .PHONY: installtools
installtools: | $(GOOSE) installtools: | $(GOOSE)