main
main v0.8.0 v0.7.0 v0.6.0 v0.5.0 v0.4.1 v0.4.0

Run

[edit]

Run attribute

By default, a task can run as many times as it appears in the requires tree. Consider a scenario where a task is required to run only one time per xc invocation, regardless of how many times it is required.

The solution would be to set the run attribute to once (defaults to always).

### setup

run: once

```
echo "TASK 3"
```

This will result in the task only running the first time it is invoked.

The default is always, which can be omitted or specified.

### setup

```
echo "TASK 3"
```

is the same as

### setup

run: always

```
echo "TASK 3"
```