From b71b814c5da60324a588aaa56d15c968f0987956 Mon Sep 17 00:00:00 2001 From: othercorey Date: Fri, 6 Nov 2020 17:45:54 -0600 Subject: [PATCH] Add notes on manual generation --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 7bcf364..042e25e 100644 --- a/README.md +++ b/README.md @@ -86,3 +86,21 @@ would be like: } } ``` + +## Generating Manually + +If you need to generate `cakephp-plugins.php` separately, you can simply run the `dumpautoload` command: + +``` +composer dumpautoload +``` + +You cannot use `--no-scripts` with `dumpautoload` or `cakephp-plugins.php` will not generate. + +If you don't want to re-generate the entire autoload dump, you can run just the scripts: + +``` +composer run-script post-autoload-dump +``` + +Please see [composer documentation](https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload-) for details.