Skip to content

Commit b0c4ce8

Browse files
authored
Remove "drupal-scaffold" from scripts (#275)
1 parent 3be2be5 commit b0c4ce8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,16 @@ The [drupal-scaffold](https://github.com/drupal-composer/drupal-scaffold) plugin
9595
index.php, update.php, …) to the web/ directory of your project. If you have not customized those files you could choose
9696
to not check them into your version control system (e.g. git). If that is the case for your project it might be
9797
convenient to automatically run the drupal-scaffold plugin after every install or update of your project. You can
98-
achieve that by registering `@drupal-scaffold` as post-install and post-update command in your composer.json:
98+
achieve that by registering `@composer drupal:scaffold` as post-install and post-update command in your composer.json:
9999

100100
```json
101101
"scripts": {
102-
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
103102
"post-install-cmd": [
104-
"@drupal-scaffold",
103+
"@composer drupal:scaffold",
105104
"..."
106105
],
107106
"post-update-cmd": [
108-
"@drupal-scaffold",
107+
"@composer drupal:scaffoldd",
109108
"..."
110109
]
111110
},

0 commit comments

Comments
 (0)