From 47cdb2eee37a479a777714e6415c59cfb219a844 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Wed, 15 May 2024 17:47:21 +0800 Subject: [PATCH] shunde-test_build.sh --- dsl/shunde-test_build.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/dsl/shunde-test_build.sh b/dsl/shunde-test_build.sh index 97f8c60..3052a46 100644 --- a/dsl/shunde-test_build.sh +++ b/dsl/shunde-test_build.sh @@ -70,6 +70,28 @@ pullCode() { } buildCode() { + # 构建 yvan-ui + if [ "${needBuild[0]}" != "0" ]; then + echo -e "$echoPrefix cd $codePath/yvan-ui $echoSuffix" + cd "$codePath/yvan-ui" + echo -e "$echoPrefix yarn run init $echoSuffix" + yarn run init + echo "" + else + echo "yvan-ui 文件未变化" + fi + # 构建 wms-ui + if [ "${needBuild[0]}" != "0" ]; then + echo -e "$echoPrefix cd $codePath/wms-ui $echoSuffix" + cd "$codePath/wms-ui" + #echo -e "$echoPrefix yarn $echoSuffix" + #yarn + echo -e "$echoPrefix yarn link yvan-ui $echoSuffix" + yarn link yvan-ui + echo "" + else + echo "yvan-ui 文件未变化" + fi # 构建 java echo -e "$echoPrefix cd $codePath $echoSuffix" cd $codePath