multi: Remove GO111MODULE env variable in Makefile

The `GO111MODULE` variable is not required from go 1.16
https://go.dev/blog/go116-module-changes
This commit is contained in:
naveen
2021-10-01 19:45:39 +00:00
committed by Oliver Gugger
parent 43158b6b59
commit b3ef3db0f2
6 changed files with 20 additions and 10 deletions

View File

@@ -27,9 +27,9 @@ ANDROID_BUILD := $(ANDROID_BUILD_DIR)/Lndmobile.aar
COMMIT := $(shell git describe --tags --dirty)
COMMIT_HASH := $(shell git rev-parse HEAD)
GOBUILD := GO111MODULE=on go build -v
GOINSTALL := GO111MODULE=on go install -v
GOTEST := GO111MODULE=on go test
GOBUILD := go build -v
GOINSTALL := go install -v
GOTEST := go test
GOVERSION := $(shell go version | awk '{print $$3}')
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*" -not -name "*pb.go" -not -name "*pb.gw.go" -not -name "*.pb.json.go")
@@ -290,7 +290,7 @@ mobile-rpc:
vendor:
@$(call print, "Re-creating vendor directory.")
rm -r vendor/; GO111MODULE=on go mod vendor
rm -r vendor/; go mod vendor
ios: vendor mobile-rpc
@$(call print, "Building iOS framework ($(IOS_BUILD)).")