aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 00e03be9a..372ca8523 100644
--- a/Makefile
+++ b/Makefile
@@ -3,23 +3,24 @@ GITCOMMIT:=$(shell git describe --dirty --always)
BINARY:=coredns
SYSTEM:=
CHECKS:=check godeps
+VERBOSE:=-v
all: coredns
.PHONY: coredns
coredns: $(CHECKS)
- CGO_ENABLED=0 $(SYSTEM) go build -v -ldflags="-s -w -X github.com/coredns/coredns/coremain.gitCommit=$(GITCOMMIT)" -o $(BINARY)
+ CGO_ENABLED=0 $(SYSTEM) go build $(VERBOSE) -ldflags="-s -w -X github.com/coredns/coredns/coremain.gitCommit=$(GITCOMMIT)" -o $(BINARY)
.PHONY: check
check: linter core/zplugin.go core/dnsserver/zdirectives.go godeps
.PHONY: test
test: check
- go test -race -v ./test ./plugin/...
+ go test -race $(VERBOSE) ./test ./plugin/...
.PHONY: testk8s
testk8s: check
- go test -race -v -tags=k8s -run 'TestKubernetes' ./test ./plugin/kubernetes/...
+ go test -race $(VERBOSE) -tags=k8s -run 'TestKubernetes' ./test ./plugin/kubernetes/...
.PHONY: godeps
godeps: