diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-05-06 02:30:32 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-05-06 02:30:32 +0200 |
commit | 24ffb0a92710acf49119378486409ca3c13ea8de (patch) | |
tree | 8c845dc638c7ea2c9c55e579101c24a089aff359 /src/hub/Makefile | |
parent | fix last commit (diff) | |
parent | handling for forwarder hubs works now (diff) |
Merge branch 'bolt'
Diffstat (limited to 'src/hub/Makefile')
-rw-r--r-- | src/hub/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/hub/Makefile b/src/hub/Makefile index 0c34f14..87890a4 100644 --- a/src/hub/Makefile +++ b/src/hub/Makefile @@ -12,7 +12,7 @@ # live and recorded data. # # -# Copyright (C) 2014-2015 Christian Pointner <equinox@spreadspace.org> +# Copyright (C) 2014-2017 Christian Pointner <equinox@spreadspace.org> # Markus Grüneis <gimpf@gimpf.org> # # This file is part of sfive. @@ -38,13 +38,10 @@ endif EXECUTEABLE := sfive-hub -LIBS := "gopkg.in/gorp.v2" \ - "github.com/mattn/go-sqlite3" \ +LIBS := "github.com/boltdb/bolt" \ "github.com/zenazn/goji" \ "github.com/pborman/uuid" \ "github.com/equinox0815/graphite-golang" -# "github.com/go-sql-driver/mysql" -# "github.com/ziutek/mymysql/godrv" all: build test @@ -83,6 +80,11 @@ bench: getlibs @echo "testing and benchmarking: sfive" @$(GOCMD) test -bench=. spreadspace.org/sfive +cover: getlibs + @echo "testing with coverage output" + @$(GOCMD) test -coverprofile=coverage.out spreadspace.org/sfive + @$(GOCMD) tool cover -html=coverage.out + clean: rm -rf pkg/*/spreadspace.org rm -rf bin |