3 Star 0 Fork 0

mirrors_zhuker/engarde

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 2.37 KB
一键复制 编辑 原始数据 按行查看 历史
Alessandro Rinaldi 提交于 2019-07-16 17:45 . Move build in separate script
# All
all: packr client server packr-clean
# Client build commands
client-linux-i386:
GOOS=linux GOARCH=386 ./build-scripts/build.sh client
client-linux-amd64:
GOOS=linux GOARCH=amd64 ./build-scripts/build.sh client
client-linux-arm:
GOOS=linux GOARCH=arm ./build-scripts/build.sh client
client-windows-i386:
GOOS=windows GOARCH=386 ./build-scripts/build.sh client
client-windows-amd64:
GOOS=windows GOARCH=amd64 ./build-scripts/build.sh client
client-darwin-i386:
GOOS=darwin GOARCH=386 ./build-scripts/build.sh client
client-darwin-amd64:
GOOS=darwin GOARCH=amd64 ./build-scripts/build.sh client
# Server build commands
server-linux-i386:
GOOS=linux GOARCH=386 ./build-scripts/build.sh server
server-linux-amd64:
GOOS=linux GOARCH=amd64 ./build-scripts/build.sh server
server-linux-arm:
GOOS=linux GOARCH=arm ./build-scripts/build.sh server
server-windows-i386:
GOOS=windows GOARCH=386 ./build-scripts/build.sh server
server-windows-amd64:
GOOS=windows GOARCH=amd64 ./build-scripts/build.sh server
server-darwin-i386:
GOOS=darwin GOARCH=386 ./build-scripts/build.sh server
server-darwin-amd64:
GOOS=darwin GOARCH=amd64 ./build-scripts/build.sh server
# Packr
packr-client:
cd cmd/engarde-client && packr2
packr-server:
cd cmd/engarde-server && packr2
packr-clean-client:
cd cmd/engarde-client && packr2 clean
packr-clean-server:
cd cmd/engarde-server && packr2 clean
packr: packr-client packr-server
packr-clean: packr-clean-client packr-clean-server
# Platform-specific builds
linux-i386: client-linux-i386 server-linux-i386
linux-amd64: client-linux-amd64 server-linux-amd64
linux-arm: client-linux-arm server-linux-arm
windows-i386: client-windows-i386 server-windows-i386
windows-amd64: client-windows-amd64 server-windows-amd64
darwin-i386: client-darwin-i386 server-darwin-i386
darwin-amd64: client-darwin-amd64 server-darwin-amd64
linux: linux-i386 linux-amd64 linux-arm
windows: windows-i386 windows-amd64
darwin: darwin-i386 darwin-amd64
# Type-specific builds
client-i386: client-linux-i386 client-windows-i386 client-darwin-i386
client-amd64: client-linux-amd64 client-windows-amd64 client-darwin-amd64
client-arm: client-linux-arm
server-i386: server-linux-i386 server-windows-i386 server-darwin-i386
server-amd64: server-linux-amd64 server-windows-amd64 server-darwin-amd64
server-arm: server-linux-arm
client: client-i386 client-amd64 client-arm
server: server-i386 server-amd64 server-arm
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_zhuker/engarde.git
git@gitee.com:mirrors_zhuker/engarde.git
mirrors_zhuker
engarde
engarde
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385