|
|
@ -78,35 +78,35 @@ pullCode() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
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 $echoSuffix" |
|
|
yarn |
|
|
# yarn |
|
|
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[4]}" != "0" ]; then |
|
|
# if [ "${needBuild[4]}" != "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 $echoSuffix" |
|
|
yarn |
|
|
# yarn |
|
|
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 |
|
|
|
|
|
|
|
|
# 构建 wms-biz/bundle |
|
|
# 构建 wms-biz/bundle |
|
|
if [ "${needBuild[0]}" != "0" ]; then |
|
|
if [ "${needBuild[0]}" != "0" ]; then |
|
|
@ -259,4 +259,4 @@ else |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt-lmis-to-wms8/prod-deploy-his-data.sh.sh) [cmd profiles] |
|
|
# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt-lmis-to-wms8/prod-deploy-his-data.sh) [cmd profiles] |
|
|
|