summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-07-17 16:03:12 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-07-17 16:03:12 +0200
commit6f75c1175aff317f84fc47c5a7163d2f656ebe2f (patch)
treed1c0adb3a989f4b220173818556fc9d21e7aa8ef
parentdaq: s5-accesslog form vs from (diff)
added go vet/fmt to hub Makefile
-rw-r--r--src/hub/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/hub/Makefile b/src/hub/Makefile
index cbaa1de..1fb7bd2 100644
--- a/src/hub/Makefile
+++ b/src/hub/Makefile
@@ -44,8 +44,16 @@ getlibs:
# $(GOCMD) get "github.com/go-sql-driver/mysql"
# $(GOCMD) get "github.com/ziutek/mymysql/godrv"
+vet: export GOPATH=$(curdir)
+vet:
+ $(GOCMD) vet spreadspace.org/sfive-hub
+
+format: export GOPATH=$(curdir)
+format:
+ $(GOCMD) fmt spreadspace.org/sfive-hub
+
build: export GOPATH=$(curdir)
-build: getlibs
+build: getlibs vet format
$(GOCMD) install spreadspace.org/sfive-hub
test: export GOPATH=$(curdir)