Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): update rundeps examples #107

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions doc/content/task-syntax/run-deps.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ menu: { main: { parent: "task-syntax", weight: 11 } }
By default, the dependencies of a task are run sequentially, in the order they are listed.
However we may prefer for all the dependencies of a task to be run in paralled.

The solution would be to set the `runDeps` attribute to `async` (defaults to `sync`).
The solution would be to set the `RunDeps` attribute to `async` (defaults to `sync`).

```markdown
### build-all

requires: build-js, build-css
runDeps: async
Requires: build-js, build-css

RunDeps: async
```

This will result in both `build-js` and `build-css` being run in parallel.
Expand All @@ -26,15 +27,15 @@ The default is `sync`, which can be omitted or specified.
```markdown
### build-all

requires: build-js, build-css
runDeps: sync
Requires: build-js, build-css

RunDeps: sync
```

is the same as

```markdown
### build-all

requires: build-js, build-css
runDeps: sync
Requires: build-js, build-css
```
Loading