summaryrefslogtreecommitdiff
path: root/src/hub/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/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)