add GOPROXY export when build

This commit is contained in:
Ulric Qin 2020-03-22 06:28:32 +08:00
parent 178acfb4c2
commit 96af38b411
3 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Nightingale user manual: [https://n9e.didiyun.com/](https://n9e.didiyun.com/)
mkdir -p $GOPATH/src/github.com/didi
cd $GOPATH/src/github.com/didi
git clone https://github.com/didi/nightingale.git
cd nightingale && export GO111MODULE=on && ./control build
cd nightingale && ./control build
```
## Team

View File

@ -15,7 +15,7 @@ Nightingale是一套衍生自Open-Falcon的互联网监控解决方案融入
mkdir -p $GOPATH/src/github.com/didi
cd $GOPATH/src/github.com/didi
git clone https://github.com/didi/nightingale.git
cd nightingale && export GO111MODULE=on && ./control build
cd nightingale && ./control build
```
## 团队

View File

@ -141,6 +141,9 @@ build_one()
build()
{
export GO111MODULE=on
export GOPROXY=https://mirrors.aliyun.com/goproxy/
mod=$1
if [ "x${mod}" = "x" ]; then
build_one monapi