代码拉取完成,页面将自动刷新
同步操作将从 Ernest/retailscm-biz-suite 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# !/bin/bash
projectname="$1-biz-suite"
git clone https://github.com/philipgreat/client-biz-suite.git $projectname
rm -rf $projectname/.git
echo "$projectname" >> $projectname/projectname
echo "copying bizcore..........$projectname/bizcore/"
cp -Ra skynet-common-app-framework/* "$projectname/bizcore/"
echo "moving folder to upper structure...."
mv $projectname/bizcore/viewlayers/* $projectname/bizcore
mv $projectname/bizcore/statics/* $projectname/bizcore
echo "copying bizui..........to $projectname/bizui/"
cp -Ra skynet-react-framework/. "$projectname/bizui/"
rm -rf "$projectname/bizui/.git"
rm -rf "$projectname/bizui/src/axios/config.js"
rm -rf "$projectname/bizcore/.classpath"
rm -rf "$projectname/bizcore/.project"
echo "repalcing __project_name__ to $projectname in gitinit.sh"
sed -i -e "s/__project_name__/$projectname/g" $projectname/gitinit.sh
echo "repalcing __project_name__ to $projectname in deploy.sh"
sed -i -e "s/__project_name__/$projectname/g" $projectname/deploy.sh
echo "done....do not forget create an EMPTY git repository!!"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。