diff --git a/README.md b/README.md index 9f78723e..26074169 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,19 @@ task assets build If Bash is available (Linux and Windows while on Git Bash), the commands will run in Bash, otherwise will fallback to `cmd` (on Windows). +### Running task in another dir + +By default, tasks will be executed in the directory where the Taskfile is +located. But you can easily make the task run in another folder informing +`dir`: + +```yml +js: + dir: www/public/js + cmds: + - gulp +``` + ### Task dependencies You may have tasks that depends on others. Just pointing them on `deps` will