From fea23ed6d4217141a5ad9ae58ec647e9ecdd8079 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Fri, 15 Nov 2019 23:31:01 -0300 Subject: [PATCH] Add Changelog and Docs for --parallel --- CHANGELOG.md | 6 ++++++ docs/usage.md | 3 +++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39493ae4..e696199a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +- Add `--parallel` flag (alias `-p`) to run tasks given by the command line in + parallel + ([#266](https://github.com/go-task/task/pull/266)). + ## v2.7.1 - 2019-11-10 - Fix error being raised when `exit 0` was called diff --git a/docs/usage.md b/docs/usage.md index 8b181576..5e139823 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -193,6 +193,9 @@ tasks: If there is more than one dependency, they always run in parallel for better performance. +> You can also make the tasks given by the command line run in parallel by +> using the `--parallel` flag (alias `-p`). Example: `task --parallel js css`. + If you want to pass information to dependencies, you can do that the same manner as you would to [call another task](#calling-another-task):