Fix #80 support glide package management

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-05-04 10:53:17 +08:00
parent 3c03839e2e
commit 372825245c
4 changed files with 55 additions and 7 deletions

View File

@@ -12,19 +12,19 @@ build: clean
sh script/build.sh
test: redis_test boltdb_test memory_test config_test
go test -cover -v -coverprofile=coverage.out ./gorush/...
go test -v -cover -covermode=count -coverprofile=coverage.out ./gorush/...
redis_test:
go test -v -cover -coverprofile=coverage.out ./storage/redis/...
go test -v -cover -covermode=count -coverprofile=coverage.out ./storage/redis/...
boltdb_test:
go test -v -cover -coverprofile=coverage.out ./storage/boltdb/...
go test -v -cover -covermode=count -coverprofile=coverage.out ./storage/boltdb/...
memory_test:
go test -v -cover -coverprofile=coverage.out ./storage/memory/...
go test -v -cover -covermode=count -coverprofile=coverage.out ./storage/memory/...
config_test:
go test -v -cover -coverprofile=coverage.out ./config/...
go test -v -cover -covermode=count -coverprofile=coverage.out ./config/...
html:
go tool cover -html=coverage.out