Files
cos-go-sdk-v5/Makefile
2018-12-06 15:24:18 +08:00

21 lines
345 B
Makefile

help:
@echo "test run test"
@echo "lint run lint"
@echo "example run examples"
.PHONY: test
test:
go test -v -cover -coverprofile cover.out
go tool cover -html=cover.out -o cover.html
.PHONY: lint
lint:
gofmt -s -w .
goimports -w .
golint .
go vet
.PHONY: example
example:
cd examples && sh test.sh