Browse Source

shunde-test_build.sh

master
lizw 2 years ago
parent
commit
47cdb2eee3
  1. 22
      dsl/shunde-test_build.sh

22
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

Loading…
Cancel
Save