如何使用bash脚本运行多个yarn命令?

时间:2018-01-26 17:01:30

标签: javascript bash yarnpkg

我有四个单独的回购需要按此顺序运行: 它们都在同一个目录中。然而我现在所拥有的只会运行第一个,因为一旦纱线运行开发,cd - 赢了什么都不做。

cd "backend" && yarn run dev
cd -
cd "merchant" && yarn run dev
cd -
cd "frontend" && yarn run dev
cd -
cd "frontend2" && yarn run dev
cd - 

0 个答案:

没有答案