From 9b180d490434fa8ee141bae7b07589df28b6c1ac Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Sat, 6 May 2017 16:27:44 +0200 Subject: [PATCH 1/2] Remove "drupal-scaffold" from scripts --- composer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/composer.json b/composer.json index dc8692956c..ca78c56c5d 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,6 @@ ] }, "scripts": { - "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold", "pre-install-cmd": [ "DrupalProject\\composer\\ScriptHandler::checkComposerVersion" ], From 1162e6e3942d0d02732369934b34ff429b8c963e Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Sat, 6 May 2017 16:32:22 +0200 Subject: [PATCH 2/2] Update docs --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eb1a71823c..f09d1d23b7 100644 --- a/README.md +++ b/README.md @@ -94,17 +94,16 @@ The [drupal-scaffold](https://github.com/drupal-composer/drupal-scaffold) plugin index.php, update.php, …) to the web/ directory of your project. If you have not customized those files you could choose to not check them into your version control system (e.g. git). If that is the case for your project it might be convenient to automatically run the drupal-scaffold plugin after every install or update of your project. You can -achieve that by registering `@drupal-scaffold` as post-install and post-update command in your composer.json: +achieve that by registering `@composer drupal:scaffold` as post-install and post-update command in your composer.json: ```json "scripts": { - "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold", "post-install-cmd": [ - "@drupal-scaffold", + "@composer drupal:scaffold", "..." ], "post-update-cmd": [ - "@drupal-scaffold", + "@composer drupal:scaffoldd", "..." ] },