1 Star 0 Fork 19

liuhongfei/y3-codec-golang

forked from YoMo/y3-codec-golang 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 378 Bytes
一键复制 编辑 原始数据 按行查看 历史
C.C 提交于 2020-07-26 18:15 . chore: add make cover for test coverage
GO ?= go
GOFMT ?= gofmt -s
GOLINT ?= ~/go/bin/golint
GOFILES := $(shell find . -name "*.go")
VETPACKAGES ?= $(shell $(GO) list ./... | grep -v /examples/)
.PHONY: fmt
fmt:
$(GOFMT) -w $(GOFILES)
vet:
$(GO) vet $(VETPACKAGES)
lint:
$(GOLINT) $(GOFILES)
test:
$(GO) test -v ./...
cover:
$(GO) test -coverprofile=prof.out && $(GO) tool cover -html=prof.out && rm prof.out
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/sandayleo/y3-codec-golang.git
git@gitee.com:sandayleo/y3-codec-golang.git
sandayleo
y3-codec-golang
y3-codec-golang
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385