summaryrefslogtreecommitdiff
path: root/src/hub/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-04-30 18:32:16 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-04-30 18:32:16 +0200
commit71a5ac19172491d62fdd959965ae3fdac25c137f (patch)
tree46f739f54efa0ff6e8a8db319a5d0e721c594d00 /src/hub/Makefile
parentnew web api endpoint hubs (diff)
parentcleaned up proto parser a little (diff)
Merge branch 'bolt' of gitspread:sfive into bolt
Diffstat (limited to 'src/hub/Makefile')
-rw-r--r--src/hub/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hub/Makefile b/src/hub/Makefile
index dd77ded..daf06ef 100644
--- a/src/hub/Makefile
+++ b/src/hub/Makefile
@@ -80,6 +80,11 @@ bench: getlibs
@echo "testing and benchmarking: sfive"
@$(GOCMD) test -bench=. spreadspace.org/sfive
+cover: getlibs
+ @echo "testing and benchmarking: sfive"
+ @$(GOCMD) test -coverprofile=coverage.out spreadspace.org/sfive
+ @$(GOCMD) tool cover -html=coverage.out
+
clean:
rm -rf pkg/*/spreadspace.org
rm -rf bin