3 Star 8 Fork 0

rookie-ninja / rk-boot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 496 Bytes
一键复制 编辑 原始数据 按行查看 历史
.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] Format go project..."
@gofmt -s -w . 2>&1
@echo "------------------------------------[Done]"
Go
1
https://gitee.com/rookie-ninja/rk-boot.git
git@gitee.com:rookie-ninja/rk-boot.git
rookie-ninja
rk-boot
rk-boot
main

搜索帮助