22 Star 124 Fork 114

zihao / 梓豪paas平台

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
compile.sh 602 Bytes
一键复制 编辑 原始数据 按行查看 历史
java110 提交于 2022-02-19 15:15 . add test.sh
#!/bin/bash
cur_pwd=$(pwd)
rm -rf ../zihao_release*
# build master
go build .
# build slave
cd ./slave
go build .
tar -cvf slave.tar slave
cp -r slave.tar ../web/download/
cd $cur_pwd
cd ..
# if not exits please new
if [ ! -d "zihao_release" ]; then
mkdir zihao_release
fi
cd $cur_pwd
cp -r web ../zihao_release
cp -r zihao ../zihao_release/
cp -r restart_zihao.sh ../zihao_release/
cp -r upgradeZihao.sh ../zihao_release/
if [ ! -d "../zihao_release/conf" ]; then
cp -r conf ../zihao_release/
fi
if [ ! -d "../zihao_release/db" ]; then
cp -r db ../zihao_release/
fi
Go
1
https://gitee.com/homecommunity/zihao.git
git@gitee.com:homecommunity/zihao.git
homecommunity
zihao
梓豪paas平台
master

搜索帮助