mirror of https://github.com/goproxyio/goproxy
parent
043c484e5e
commit
98338ce2aa
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
PKG=${PWD}/pkg/
|
||||
GOROOT=`go env GOROOT`
|
||||
cp -r ${GOROOT}/src/cmd/go/internal/base ${PKG}
|
||||
cp -r ${GOROOT}/src/cmd/go/internal/cache ${PKG}
|
||||
cp -r ${GOROOT}/src/cmd/go/internal/cfg ${PKG}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
go env
|
||||
|
||||
export GO111MODULE=on
|
||||
export GOROOT=/usr/local/go
|
||||
|
||||
go generate
|
||||
go mod tidy
|
||||
|
|
Loading…
Reference in New Issue