aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 4afd7cb2e..1ed989b51 100644
--- a/Makefile
+++ b/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