Browse Source

大参林-哈尔滨

master
lizw 1 year ago
parent
commit
d436925474
  1. 66
      hua_wei_yun/13haerbing-test_build.sh

66
hua_wei_yun/13haerbing-test_build.sh

@ -85,42 +85,42 @@ echo "###--代码更新完成---------------------------------------------------
echo "" echo ""
buildCode() { buildCode() {
# # 构建 yvan-ext # 构建 yvan-ext
# if [ "${needBuild[1]}" != "0" ]; then if [ "${needBuild[1]}" != "0" ]; then
# echo -e "$echoPrefix cd $codePath/yvan-ext $echoSuffix" echo -e "$echoPrefix cd $codePath/yvan-ext $echoSuffix"
# cd "$codePath/yvan-ext" cd "$codePath/yvan-ext"
# echo -e "$echoPrefix yarn $echoSuffix" echo -e "$echoPrefix yarn --network-timeout 1000 $echoSuffix"
# yarn yarn --network-timeout 1000
# echo -e "$echoPrefix yarn link $echoSuffix" echo -e "$echoPrefix yarn link $echoSuffix"
# yarn link yarn link
# echo -e "$echoPrefix yarn build $echoSuffix" echo -e "$echoPrefix yarn build $echoSuffix"
# yarn build yarn build
# echo "" echo ""
# else else
# echo "yvan-ext 文件未变化" echo "yvan-ext 文件未变化"
# fi fi
#
# # 构建 yvan-ext-mobile # 构建 yvan-ext-mobile
# if [ "${needBuild[1]}" != "0" ]; then if [ "${needBuild[1]}" != "0" ]; then
# echo -e "$echoPrefix cd $codePath/yvan-ext-mobile $echoSuffix" echo -e "$echoPrefix cd $codePath/yvan-ext-mobile $echoSuffix"
# cd "$codePath/yvan-ext-mobile" cd "$codePath/yvan-ext-mobile"
# echo -e "$echoPrefix yarn $echoSuffix" echo -e "$echoPrefix yarn --network-timeout 1000 $echoSuffix"
# yarn yarn --network-timeout 1000
# echo -e "$echoPrefix yarn link $echoSuffix" echo -e "$echoPrefix yarn link $echoSuffix"
# yarn link yarn link
# echo -e "$echoPrefix yarn build $echoSuffix" echo -e "$echoPrefix yarn build $echoSuffix"
# yarn build yarn build
# echo "" echo ""
# else else
# echo "yvan-ext-mobile 文件未变化" echo "yvan-ext-mobile 文件未变化"
# fi fi
# 构建 thinkingwms-ui/client # 构建 thinkingwms-ui/client
if [ "${needBuild[2]}" != "0" ]; then if [ "${needBuild[2]}" != "0" ]; then
echo -e "$echoPrefix cd $codePath/client $echoSuffix" echo -e "$echoPrefix cd $codePath/client $echoSuffix"
cd "$codePath/client" cd "$codePath/client"
echo -e "$echoPrefix yarn $echoSuffix" echo -e "$echoPrefix yarn --network-timeout 1000 $echoSuffix"
yarn yarn --network-timeout 1000
echo -e "$echoPrefix yarn link yvan-ext $echoSuffix" echo -e "$echoPrefix yarn link yvan-ext $echoSuffix"
yarn link yvan-ext yarn link yvan-ext
echo -e "$echoPrefix yarn build $echoSuffix" echo -e "$echoPrefix yarn build $echoSuffix"
@ -134,8 +134,8 @@ buildCode() {
if [ "${needBuild[2]}" != "0" ]; then if [ "${needBuild[2]}" != "0" ]; then
echo -e "$echoPrefix cd $codePath/pda-client $echoSuffix" echo -e "$echoPrefix cd $codePath/pda-client $echoSuffix"
cd "$codePath/pda-client" cd "$codePath/pda-client"
echo -e "$echoPrefix yarn $echoSuffix" echo -e "$echoPrefix yarn --network-timeout 1000 $echoSuffix"
yarn yarn --network-timeout 1000
echo -e "$echoPrefix yarn link yvan-ext-mobile $echoSuffix" echo -e "$echoPrefix yarn link yvan-ext-mobile $echoSuffix"
yarn link yvan-ext-mobile yarn link yvan-ext-mobile
echo -e "$echoPrefix yarn build $echoSuffix" echo -e "$echoPrefix yarn build $echoSuffix"

Loading…
Cancel
Save