1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Move "scripts-description" to toplevel

Fixes #6881
This commit is contained in:
Mathias Brodala 2017-12-18 10:14:24 +01:00
parent 0a9abeef88
commit 80d0c2029b
3 changed files with 21 additions and 11 deletions

View file

@ -278,16 +278,14 @@ JSON array of commands.
## Custom descriptions.
You can set custom script descriptions with the following extra in your composer.json:
You can set custom script descriptions with the following in your `composer.json`:
```json
{
"extra": {
"scripts-description": {
"test": "Run all tests!"
}
}
}
```
```json
{
"scripts-description": {
"test": "Run all tests!"
}
}
```
> **Note:** You can only set custom descriptions of custom commands.