mirror of https://github.com/dtm-labs/dtm.git
csharpjavadistributed-transactionsdtmgogolangmicroservicenodejsphpdatabasesagaseatatcctransactiontransactionsxapythondistributed
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
412 B
26 lines
412 B
# dev env https://www.dtm.pub/other/develop.html
|
|
all: fmt lint test_redis
|
|
.PHONY: all
|
|
|
|
fmt:
|
|
@gofmt -s -w ./
|
|
|
|
lint:
|
|
revive -config revive.toml ./...
|
|
|
|
.PHONY: test
|
|
test:
|
|
@go test ./...
|
|
|
|
test_redis:
|
|
TEST_STORE=redis go test ./...
|
|
|
|
test_all:
|
|
TEST_STORE=redis go test ./...
|
|
TEST_STORE=boltdb go test ./...
|
|
TEST_STORE=mysql go test ./...
|
|
TEST_STORE=postgres go test ./...
|
|
|
|
cover_test:
|
|
./helper/test-cover.sh
|
|
|
|
|