mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Export Go module variables in Makefile
This commit is contained in:
parent
c579b13705
commit
7a14c39d81
4
Makefile
4
Makefile
@ -17,8 +17,8 @@ ifndef $(GOPATH)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Set go modules to on and use GoCenter for immutable modules
|
# Set go modules to on and use GoCenter for immutable modules
|
||||||
GO111MODULE=on
|
export GO111MODULE = on
|
||||||
GOPROXY=https://gocenter.io
|
export GOPROXY = https://gocenter.io
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -o bin/wtf
|
go build -o bin/wtf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user