5 Star 41 Fork 8

infra-io / postar

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 555 Bytes
一键复制 编辑 原始数据 按行查看 历史
水不要鱼 提交于 2024-04-02 11:45 . 调整结构
.PHONY: all fmt test build clean proto postar postaradmin
VERSION=v0.4.3-alpha
all:
make test && make clean && make build
fmt:
go fmt ./...
test:
go mod tidy
go test -cover ./...
build:
go mod tidy
./build.sh $(VERSION) linux amd64
./build.sh $(VERSION) darwin amd64
./build.sh $(VERSION) windows amd64
clean:
rm -rf ./target
proto:
cd api && buf build && buf generate
postar:
go mod tidy
go run cmd/postar/main.go -conf ./config/postar.toml
postaradmin:
go mod tidy
go run cmd/postar-admin/main.go -conf ./config/postar_admin.toml
Go
1
https://gitee.com/infra-io/postar.git
git@gitee.com:infra-io/postar.git
infra-io
postar
postar
master

搜索帮助