mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 08:02:25 +02:00
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:
8
Makefile
8
Makefile
@@ -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)).")
|
||||
|
Reference in New Issue
Block a user