feat: build.sh 集成产品/折扣/定价/支付/短信模块
This commit is contained in:
parent
a8f92a58b6
commit
e9798a9bf4
6
build.sh
6
build.sh
@ -52,7 +52,7 @@ for mod in pipeline_core pipeline_ops pipeline_dist; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# 5. Install business modules (clone external, local already in pkgs)
|
# 5. Install business modules (clone external, local already in pkgs)
|
||||||
for mod in pipeline-sdlc showcase evaluate pipeline-service pipeline-task tenant app_audit; do
|
for mod in pipeline-sdlc showcase evaluate pipeline-service pipeline-task tenant app_audit product_management discount pricing unipay smssend; do
|
||||||
cd "$cdir/pkgs"
|
cd "$cdir/pkgs"
|
||||||
if [ ! -d "$mod" ]; then
|
if [ ! -d "$mod" ]; then
|
||||||
git clone https://git.opencomputing.cn/yumoqing/$mod || echo "SKIP: $mod"
|
git clone https://git.opencomputing.cn/yumoqing/$mod || echo "SKIP: $mod"
|
||||||
@ -61,7 +61,7 @@ for mod in pipeline-sdlc showcase evaluate pipeline-service pipeline-task tenant
|
|||||||
done
|
done
|
||||||
|
|
||||||
# 6. pip install all modules from pkgs/
|
# 6. pip install all modules from pkgs/
|
||||||
for mod in pipeline_core pipeline_ops pipeline_dist pipeline-sdlc showcase tenant app_audit; do
|
for mod in pipeline_core pipeline_ops pipeline_dist pipeline-sdlc showcase tenant app_audit product_management discount pricing unipay smssend; do
|
||||||
if [ -d "pkgs/$mod" ]; then
|
if [ -d "pkgs/$mod" ]; then
|
||||||
"$cdir/py3/bin/pip" install "pkgs/$mod/" 2>&1 | tail -1
|
"$cdir/py3/bin/pip" install "pkgs/$mod/" 2>&1 | tail -1
|
||||||
fi
|
fi
|
||||||
@ -81,7 +81,7 @@ done
|
|||||||
|
|
||||||
|
|
||||||
# 8. Link module wwwroot directories (symlinks from pkgs/)
|
# 8. Link module wwwroot directories (symlinks from pkgs/)
|
||||||
for mod in pipeline-sdlc showcase tenant pipeline_core pipeline_ops pipeline_dist appbase app_audit; do
|
for mod in pipeline-sdlc showcase tenant pipeline_core pipeline_ops pipeline_dist appbase app_audit product_management discount pricing unipay; do
|
||||||
src="pkgs/$mod/wwwroot"
|
src="pkgs/$mod/wwwroot"
|
||||||
dst="wwwroot/$mod"
|
dst="wwwroot/$mod"
|
||||||
if [ -d "$src" ]; then
|
if [ -d "$src" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user