mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Update golang.org/x/net and golang.org/x/text (#1553)
This fix updates golang.org/x/net to release-branch.go1.10 and golang.org/x/text to v0.3.0, for the purpose of align with go version 1.10. This fix also updates README.md to promote using go 1.10. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -38,8 +38,8 @@ godeps:
|
|||||||
(cd $(GOPATH)/src/github.com/mholt/caddy && git checkout -q v0.10.11)
|
(cd $(GOPATH)/src/github.com/mholt/caddy && git checkout -q v0.10.11)
|
||||||
(cd $(GOPATH)/src/github.com/miekg/dns && git checkout -q v1.0.4)
|
(cd $(GOPATH)/src/github.com/miekg/dns && git checkout -q v1.0.4)
|
||||||
(cd $(GOPATH)/src/github.com/prometheus/client_golang && git checkout -q v0.8.0)
|
(cd $(GOPATH)/src/github.com/prometheus/client_golang && git checkout -q v0.8.0)
|
||||||
(cd $(GOPATH)/src/golang.org/x/net && git checkout -q release-branch.go1.9)
|
(cd $(GOPATH)/src/golang.org/x/net && git checkout -q release-branch.go1.10)
|
||||||
(cd $(GOPATH)/src/golang.org/x/text && git checkout -q e19ae1496984b1c655b8044a65c0300a3c878dd3)
|
(cd $(GOPATH)/src/golang.org/x/text && git checkout -q v0.3.0)
|
||||||
|
|
||||||
.PHONY: travis
|
.PHONY: travis
|
||||||
travis: check
|
travis: check
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ a Go environment, you could build CoreDNS easily:
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ docker run --rm -i -t -v $PWD:/go/src/github.com/coredns/coredns \
|
$ docker run --rm -i -t -v $PWD:/go/src/github.com/coredns/coredns \
|
||||||
-w /go/src/github.com/coredns/coredns golang:1.9 make
|
-w /go/src/github.com/coredns/coredns golang:1.10 make
|
||||||
```
|
```
|
||||||
|
|
||||||
The above command alone will have `coredns` binary generated.
|
The above command alone will have `coredns` binary generated.
|
||||||
|
|||||||
Reference in New Issue
Block a user