2

Is it possible to call play commands for a given project/folder? I mean without being in the project folder? For example :

play dist /path/to/a/given/folder
play dist /path/to/another/folder

Especially usefull in CI.

1 Answer 1

1

The fastest way I can imagine is just rely on bash functionality:

cd /path/to/a/given/folder; pwd; play dist; cd -
cd /path/to/another/folder; pwd; play dist; cd -

Of course you don't need to write it again and again. You can just write small bash script for that job. Then it will be one-line call.

1
  • Yes, that's what I do for the moment. I was looking for alternatives without cd. Aug 21, 2012 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.