-
Notifications
You must be signed in to change notification settings - Fork 361
/
Makefile
45 lines (31 loc) · 660 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
43
44
45
up:
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=30m ./...
test_codecov:
go test -coverprofile=coverage.out -covermode=atomic ./...
test_reconnect:
go test -tags=reconnect ./...
build:
go build ./...
wait:
fmt:
go fmt ./...
goimports -l -w .
generate_gomod:
rm go.mod go.sum || true
go mod init github.com/ThreeDotsLabs/watermill
go install ./...
sed -i '\|go |d' go.mod
go mod edit -fmt
update_examples_deps:
go run dev/update-examples-deps/main.go
validate_examples:
(cd dev/validate-examples/ && go run main.go)