Browse Source

wms8-demo

master
lizw 4 years ago
parent
commit
559795e7e2
  1. 24
      wms8-demo/deploy.sh

24
wms8-demo/deploy.sh

@ -75,11 +75,11 @@ buildCode() {
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 /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
echo -e "$echoPrefix yarn link $echoSuffix" echo -e "$echoPrefix yarn link $echoSuffix"
yarn link /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn link
echo -e "$echoPrefix yarn build $echoSuffix" echo -e "$echoPrefix yarn build $echoSuffix"
yarn build /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn build
echo "" echo ""
else else
echo "yvan-ext 文件未变化" echo "yvan-ext 文件未变化"
@ -90,11 +90,11 @@ buildCode() {
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 /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
echo -e "$echoPrefix yarn link $echoSuffix" echo -e "$echoPrefix yarn link $echoSuffix"
yarn link /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn link
echo -e "$echoPrefix yarn build $echoSuffix" echo -e "$echoPrefix yarn build $echoSuffix"
yarn build /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn build
echo "" echo ""
else else
echo "yvan-ext-mobile 文件未变化" echo "yvan-ext-mobile 文件未变化"
@ -105,11 +105,11 @@ buildCode() {
echo -e "$echoPrefix cd $codePath/wms-biz/bundle $echoSuffix" echo -e "$echoPrefix cd $codePath/wms-biz/bundle $echoSuffix"
cd "$codePath/wms-biz/bundle" cd "$codePath/wms-biz/bundle"
echo -e "$echoPrefix yarn $echoSuffix" echo -e "$echoPrefix yarn $echoSuffix"
yarn /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
echo -e "$echoPrefix yarn link yvan-ext $echoSuffix" echo -e "$echoPrefix yarn link yvan-ext $echoSuffix"
yarn link yvan-ext /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn link yvan-ext
echo -e "$echoPrefix yarn build $echoSuffix" echo -e "$echoPrefix yarn build $echoSuffix"
yarn build /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn build
echo "" echo ""
else else
echo "wms-biz/bundle 文件未变化" echo "wms-biz/bundle 文件未变化"
@ -120,11 +120,11 @@ buildCode() {
echo -e "$echoPrefix cd $codePath/wms-biz/pda-client $echoSuffix" echo -e "$echoPrefix cd $codePath/wms-biz/pda-client $echoSuffix"
cd "$codePath/wms-biz/pda-client" cd "$codePath/wms-biz/pda-client"
echo -e "$echoPrefix yarn $echoSuffix" echo -e "$echoPrefix yarn $echoSuffix"
yarn /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
echo -e "$echoPrefix yarn link yvan-ext-mobile $echoSuffix" echo -e "$echoPrefix yarn link yvan-ext-mobile $echoSuffix"
yarn link yvan-ext-mobile /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn link yvan-ext-mobile
echo -e "$echoPrefix yarn build $echoSuffix" echo -e "$echoPrefix yarn build $echoSuffix"
yarn build /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn build
echo "" echo ""
else else
echo "wms-biz/pda-client 文件未变化" echo "wms-biz/pda-client 文件未变化"

Loading…
Cancel
Save