mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-24 14:05:45 +03:00
cherry-pick: add go sumdb env
Merge in DNS/adguard-home from cn-sumdb to master Squashed commit of the following: commit 439973292f473efa72fb6a733a32be45e634274e Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon Mar 28 16:51:28 2022 +0300 Makefile: add go sumdb env
This commit is contained in:
parent
b114fd5279
commit
1def426b45
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -17,6 +17,7 @@ DIST_DIR = dist
|
|||
# See https://unix.stackexchange.com/q/646255/105635.
|
||||
GO.MACRO = $${GO:-go}
|
||||
GOPROXY = https://goproxy.cn|https://proxy.golang.org|direct
|
||||
GOSUMDB = sum.golang.google.cn
|
||||
GPG_KEY = devteam@adguard.com
|
||||
GPG_KEY_PASSPHRASE = not-a-real-password
|
||||
NPM = npm
|
||||
|
@ -56,6 +57,7 @@ ENV = env\
|
|||
DIST_DIR='$(DIST_DIR)'\
|
||||
GO="$(GO.MACRO)"\
|
||||
GOPROXY='$(GOPROXY)'\
|
||||
GOSUMDB='$(GOSUMDB)'\
|
||||
PATH="$${PWD}/bin:$$( "$(GO.MACRO)" env GOPATH )/bin:$${PATH}"\
|
||||
RACE='$(RACE)'\
|
||||
SIGN='$(SIGN)'\
|
||||
|
|
Loading…
Reference in a new issue