Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwen17 committed Dec 17, 2019
1 parent dec6766 commit cf06ac5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Empty file added baas-ccmanager/.gitkeep
Empty file.
15 changes: 10 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@ export BASE=$(pwd)
if [ ! -d "bin" ];then
mkdir bin
else
echo "文件夹已经存在"
rm -rf bin/*
fi
# 编译baas-gateway
echo "编译baas-gateway"
cd $BASE/baas-gateway
go build .
mv baas-gateway $BASE/bin
# 编译baas-fabricengine
echo "编译baas-fabricengine"
cd $BASE/baas-fabricengine
go build .
mv baas-fabricengine $BASE/bin
# 编译baas-kubeengine
echo "编译baas-kubeengine"
cd $BASE/baas-kubeengine
go build .
mv baas-kubeengine $BASE/bin
mv baas-kubeengine $BASE/bin
echo "编译baas-frontend"
cd $BASE/baas-frontend
rm -rf node_modules && npm install --registry=https://registry.npm.taobao.org
npm run build:prod
mv dist $BASE/bin/baas-frontend

0 comments on commit cf06ac5

Please sign in to comment.