Skip to content

Commit

Permalink
Update setup-scripts.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers authored Sep 27, 2023
1 parent 2088500 commit b798c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/src/book/setup-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ platform = { host = "cfg(unix)" }
setup = 'script1'
```

A list of scripts can also be specified:
A set of scripts can also be specified. All scripts in the set will be executed.

```toml
[[profile.default.scripts]]
Expand All @@ -74,7 +74,7 @@ setup = ['script1', 'script2']

## Script execution

A given setup script *S* is only executed if the current profile has at least one rule where the `filter` and `platform` predicates match the current execution environment, and the setup script is selected.
A given setup script *S* is only executed if the current profile has at least one rule where the `filter` and `platform` predicates match the current execution environment, and the setup script *S* is listed in `setup`.

Setup scripts are executed serially, in the order they are defined (*not* the order they're specified in the rules). If any setup script exits with a non-zero exit code, the entire test run is terminated.

Expand Down

0 comments on commit b798c07

Please sign in to comment.