summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-07-17 14:04:00 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-07-17 14:04:00 (GMT)
commitb4e50f0cd8aab1e5a23baad5b000a51c95e6ec9e (patch)
tree4ea2a27e287d586183029116480ecc44628554db
parentead2393093d2b4f3c9c2863cfafe1656f07192de (diff)
added vet target to Makefile
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a9c7ca9..e6a03d3 100644
--- a/Makefile
+++ b/Makefile
@@ -31,12 +31,16 @@ getlibs:
$(GOCMD) get "github.com/gorilla/websocket"
$(GOCMD) get "github.com/tuxychandru/pubsub"
+vet: export GOPATH=$(curdir)
+vet:
+ $(GOCMD) vet helsinki.at/rhrdtime
+
format: export GOPATH=$(curdir)
format:
$(GOCMD) fmt helsinki.at/rhrdtime
build: export GOPATH=$(curdir)
-build: getlibs format
+build: getlibs vet format
$(GOCMD) install helsinki.at/rhrdtime
clean: