Browse Source

update makefile

topic
yedf2 5 years ago
parent
commit
8e36891b89
  1. 5
      helper/Makefile

5
helper/Makefile

@ -1,5 +1,5 @@
# dev env https://www.dtm.pub/other/develop.html # dev env https://www.dtm.pub/other/develop.html
all: fmt lint test_all cover_test all: fmt lint test_redis
.PHONY: all .PHONY: all
fmt: fmt:
@ -12,6 +12,9 @@ lint:
test: test:
@go test ./... @go test ./...
test_redis:
TEST_STORE=redis go test ./...
test_all: test_all:
TEST_STORE=redis go test ./... TEST_STORE=redis go test ./...
TEST_STORE=boltdb go test ./... TEST_STORE=boltdb go test ./...

Loading…
Cancel
Save