2 Star 3 Fork 0

rookie-ninja / rk-grpc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 634 Bytes
一键复制 编辑 原始数据 按行查看 历史
dongxuny 提交于 2022-03-06 04:51 . [v2] Refactoring based on rk-entry/v2
.PHONY: all
all: test lint fmt
.PHONY: lint
lint:
@echo "[golangci-lint] Running golangci-lint..."
@golangci-lint run 2>&1
@echo "------------------------------------[Done]"
.PHONY: test
test:
@echo "[test] Running go test..."
@go test ./... -coverprofile coverage.txt 2>&1
@go tool cover -html=coverage.txt
@echo "------------------------------------[Done]"
.PHONY: fmt
fmt:
@echo "[fmt] Formatting go project..."
@gofmt -s -w . 2>&1
@echo "------------------------------------[Done]"
.PHONY: buf
buf:
@echo "[buf] Running buf..."
@buf generate --path boot/api/v1
@echo "------------------------------------[Done]"
Go
1
https://gitee.com/rookie-ninja/rk-grpc.git
git@gitee.com:rookie-ninja/rk-grpc.git
rookie-ninja
rk-grpc
rk-grpc
master

搜索帮助