mirror of
https://github.com/coredns/coredns.git
synced 2026-03-25 14:25:32 -04:00
Dep ensure (#1803)
* vendor: don't vendor the context stuff We don't need to vendor this anymore as we moved to the std lib for these. * new stuff showing up with dep ensure * remove go-shlex
This commit is contained in:
11
Makefile
11
Makefile
@@ -26,24 +26,19 @@ testk8s: check
|
||||
|
||||
.PHONY: godeps
|
||||
godeps:
|
||||
# Not vendored so external plugin compile, avoiding:
|
||||
# cannot use c (type *"github.com/mholt/caddy".Controller) as type
|
||||
# *"github.com/coredns/coredns/vendor/github.com/mholt/caddy".Controller like errors.
|
||||
(cd $(GOPATH)/src/github.com/mholt/caddy 2>/dev/null && git checkout -q master 2>/dev/null || true)
|
||||
(cd $(GOPATH)/src/github.com/miekg/dns 2>/dev/null && git checkout -q master 2>/dev/null || true)
|
||||
(cd $(GOPATH)/src/github.com/prometheus/client_golang 2>/dev/null && git checkout -q master 2>/dev/null || true)
|
||||
(cd $(GOPATH)/src/golang.org/x/net 2>/dev/null && git checkout -q master 2>/dev/null || true)
|
||||
(cd $(GOPATH)/src/golang.org/x/text 2>/dev/null && git checkout -q master 2>/dev/null || true)
|
||||
go get -u github.com/mholt/caddy
|
||||
go get -u github.com/miekg/dns
|
||||
go get -u github.com/prometheus/client_golang/prometheus/promhttp
|
||||
go get -u github.com/prometheus/client_golang/prometheus
|
||||
go get -u golang.org/x/net/context
|
||||
go get -u golang.org/x/text
|
||||
(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.6)
|
||||
(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.10)
|
||||
(cd $(GOPATH)/src/golang.org/x/text && git checkout -q v0.3.0)
|
||||
# github.com/flynn/go-shlex is required by mholt/caddy at the moment
|
||||
go get -u github.com/flynn/go-shlex
|
||||
|
||||
.PHONY: travis
|
||||
travis: check
|
||||
|
||||
Reference in New Issue
Block a user