github.com/wfusion/gofusion@v1.1.14/common/infra/watermill/Makefile (about) 1 up: 2 3 test: 4 go test ./... 5 6 test_v: 7 go test -v ./... 8 9 test_short: 10 go test ./... -short 11 12 test_race: 13 go test ./... -short -race 14 15 test_stress: 16 go test -tags=stress -timeout=30m ./... 17 18 test_codecov: 19 go test -coverprofile=coverage.out -covermode=atomic ./... 20 21 test_reconnect: 22 go test -tags=reconnect ./... 23 24 build: 25 go build ./... 26 27 wait: 28 29 fmt: 30 go fmt ./... 31 goimports -l -w . 32 33 generate_gomod: 34 rm go.mod go.sum || true 35 go mod init github.com/ThreeDotsLabs/watermill 36 37 go install ./... 38 sed -i '\|go |d' go.mod 39 go mod edit -fmt 40 41 update_examples_deps: 42 go run dev/update-examples-deps/main.go 43 44 validate_examples: 45 (cd dev/validate-examples/ && go run main.go)