gosocketio/vendor/github.com/googollee/go-socket.io/Makefile

24 lines
402 B
Makefile
Raw Normal View History

2023-11-30 17:38:20 +08:00
.PHONY: all
all:
go install ./...
.PHONY: get_dev
get_dev:
go get -t ./...
.PHONY: test
test:
go clean -testcache && go test -race -cover -covermode=atomic ./...
.PHONY: bench
bench:
go clean -testcache && go test -bench . -benchmem ./...
.PHONY: lint
lint:
golangci-lint run
.PHONY: cover
cover:
go clean -testcache && go test ./... -cover -coverprofile=c.out && go tool cover -html=c.out