1 Star 0 Fork 0

桜風の狐狐/youmu-thlink

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 560 Bytes
一键复制 编辑 原始数据 按行查看 历史
桜風の狐狐 提交于 2023-02-11 21:05 . Update Makefile
VERSION:=0.0.12
BUILD_ARCH=$(shell go env GOARCH)
BUILD_OS=$(shell go env GOOS)
all:
export GOPATH=${HOME}/go
# go build -o ./build/thlink-broker ./broker/
CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -o ./build/thlink-broker-v${VERSION}-${BUILD_ARCH}-${BUILD_OS} ./broker/
go build -o ./build/thlink-client-v${VERSION}-${BUILD_ARCH}-${BUILD_OS} ./client/
go build -o ./build/thlink-client-gtk-v${VERSION}-${BUILD_ARCH}-${BUILD_OS} ./client-gtk3/
test:
go test ./utils
go test ./broker/lib
go test ./client/lib
clean:
rm -rf ./build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/weilinfox/youmu-thlink.git
git@gitee.com:weilinfox/youmu-thlink.git
weilinfox
youmu-thlink
youmu-thlink
master

搜索帮助