是否可以为给定的项目/文件夹调用播放命令?我的意思是不在项目文件夹中?例如:
play dist /path/to/a/given/folder
play dist /path/to/another/folder
特别适用于CI。
我能想到的最快的方法就是依赖bash功能:
cd /path/to/a/given/folder; pwd; play dist; cd -
cd /path/to/another/folder; pwd; play dist; cd -
当然,你不需要一遍又一遍地写。您可以为该作业编写小型bash脚本。那么它将是one-line
调用。