Skip to content

Commit

Permalink
Update README to reflect new attribute syntax (#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
neunenak authored Jan 27, 2023
1 parent 6878318 commit 941a40e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,24 @@ Recipes may be annotated with attributes that change their behavior.
| `[macos]` | Enable recipe on MacOS. |
| `[unix]` | Enable recipe on Unixes. |
| `[windows]` | Enable recipe on Windows. |
| `[private]` | See "Private Recipes". |

A recipe can have multiple attributes, either on multiple lines:

```just
[no-cd]
[private]
foo:
echo "foo"
```

Or separated by commas on a single line:

```just
[no-cd, private]
foo:
echo "foo"
```

#### Enabling and Disabling Recipes

Expand Down

0 comments on commit 941a40e

Please sign in to comment.