加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
create.sh 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
philipgreat 提交于 2018-12-17 22:33 . first commit
# !/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!!"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化