-
Notifications
You must be signed in to change notification settings - Fork 24
/
Makefile
43 lines (29 loc) · 611 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
include: .env
up:
docker compose up -d
test:
go test ./...
test_v:
go test -v ./...
test_short:
go test ./... -short
test_race:
go test ./... -short -race
test_stress:
go test -tags=stress -timeout=45m ./...
test_reconnect:
go test -tags=reconnect ./...
test_codecov: up wait
go test -coverprofile=coverage.out -covermode=atomic ./...
wait:
go run github.com/ThreeDotsLabs/wait-for@latest localhost:8085
build:
go build ./...
fmt:
go fmt ./...
goimports -l -w .
update_watermill:
go get -u github.com/ThreeDotsLabs/watermill
go mod tidy
sed -i '\|go 1\.|d' go.mod
go mod edit -fmt