mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
Stop vendoring go dns and context (#794)
* Stop vendoring go dns and x/net/context * dep ensure run * Fix Makefile * Fix typo * Delete context vendor dir
This commit is contained in:
11
Makefile
11
Makefile
@@ -7,11 +7,11 @@ all: coredns
|
||||
# Phony this to ensure we always build the binary.
|
||||
# TODO: Add .go file dependencies.
|
||||
.PHONY: coredns
|
||||
coredns: check caddy
|
||||
coredns: check godeps
|
||||
go build $(BUILD_VERBOSE) -ldflags="-s -w"
|
||||
|
||||
.PHONY: deps
|
||||
deps: core/zmiddleware.go core/dnsserver/zdirectives.go caddy
|
||||
deps: core/zmiddleware.go core/dnsserver/zdirectives.go godeps
|
||||
go get -u github.com/golang/lint/golint
|
||||
|
||||
.PHONY: check
|
||||
@@ -25,9 +25,12 @@ test: check
|
||||
testk8s: check
|
||||
go test -race $(TEST_VERBOSE) -tags=k8s -run 'TestKubernetes' ./test ./middleware/kubernetes/...
|
||||
|
||||
.PHONY: caddy
|
||||
caddy:
|
||||
.PHONY: godeps
|
||||
godeps:
|
||||
go get github.com/mholt/caddy
|
||||
go get github.com/miekg/dns
|
||||
go get golang.org/x/net/context
|
||||
go get golang.org/x/text
|
||||
|
||||
.PHONY: coverage
|
||||
coverage: check
|
||||
|
||||
Reference in New Issue
Block a user