diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-04-30 05:05:38 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-04-30 05:05:38 +0200 |
commit | 1ff58dd9ccc9fca93160491d45f555a09f804df3 (patch) | |
tree | 0834203f6cae375cde15f0be021ed921d255824b /src/hub/Makefile | |
parent | minor store file size optimization (diff) |
added coverage test and some cleanup
Diffstat (limited to 'src/hub/Makefile')
-rw-r--r-- | src/hub/Makefile | 5 |
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 |