summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c358d8e..75b9333 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
GO ?= go
-all: build
+all: test build
build:
${GO} build -o dserver ./cmd/dserver/main.go
${GO} build -o dcat ./cmd/dcat/main.go
@@ -29,3 +29,5 @@ lint:
echo ${GOPATH}/bin/golint $$dir; \
${GOPATH}/bin/golint $$dir; \
done
+test:
+ ${GO} test ./... -v