forked from ThreeDotsLabs/watermill-sql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (31 loc) · 677 Bytes
/
Makefile
File metadata and controls
46 lines (31 loc) · 677 Bytes
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
43
44
45
46
up:
docker compose up -d
test:
go test -timeout=10m ./...
test_v:
go test -v ./...
test_short:
go test -short ./...
test_race:
go test -short -race ./...
test_stress:
test_codecov:
test_reconnect:
go test -tags=reconnect ./...
wait:
go run github.com/ThreeDotsLabs/wait-for@latest localhost:3306 localhost:5432
go run ./internal/wait-for
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
mycli:
@mycli -h 127.0.0.1 -u root watermill
pgcli:
@pgcli postgres://watermill:password@localhost:5432/watermill?sslmode=disable