From 8e36891b891a0f11b8f9058b17f9b80c0b3efe48 Mon Sep 17 00:00:00 2001 From: yedf2 <120050102@qq.com> Date: Fri, 11 Mar 2022 21:41:36 +0800 Subject: [PATCH] update makefile --- helper/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helper/Makefile b/helper/Makefile index 0096486..f9d7353 100644 --- a/helper/Makefile +++ b/helper/Makefile @@ -1,5 +1,5 @@ # dev env https://www.dtm.pub/other/develop.html -all: fmt lint test_all cover_test +all: fmt lint test_redis .PHONY: all fmt: @@ -12,6 +12,9 @@ lint: test: @go test ./... +test_redis: + TEST_STORE=redis go test ./... + test_all: TEST_STORE=redis go test ./... TEST_STORE=boltdb go test ./...