2 Star 0 Fork 0

rocket049 / mousego

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.sh 418 Bytes
一键复制 编辑 原始数据 按行查看 历史
rocket049 提交于 2020-06-29 09:19 . fix bug : triger count.
#!/bin/bash
go build -ldflags "-s -w"
if [ "$?" == "1" ];then
echo "fail build"
exit 1
fi
if [ -f "mousego.exe" ];then
fn=mousego-win32-$(date "+%Y%m%d%H%M").zip
echo Create : ${fn}
zip -9 ${fn} mousego.exe zlib1.dll
fi
if [ "linux" == "$(go env GOOS)" ];then
echo linux
else
exit 0
fi
if [ -f "mousego" ];then
fn=mousego-ubuntu2004-$(date "+%Y%m%d%H%M").gz
echo Create : ${fn}
gzip -9 -c mousego > ${fn}
fi
1
https://gitee.com/rocket049/mousego.git
git@gitee.com:rocket049/mousego.git
rocket049
mousego
mousego
master

搜索帮助