Skip to content

Commit 1759403

Browse files
authored
Merge pull request #54 from cakephp/othercorey-patch-1
Add notes on manual generation
2 parents e27027a + b71b814 commit 1759403

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,21 @@ would be like:
8686
}
8787
}
8888
```
89+
90+
## Generating Manually
91+
92+
If you need to generate `cakephp-plugins.php` separately, you can simply run the `dumpautoload` command:
93+
94+
```
95+
composer dumpautoload
96+
```
97+
98+
You cannot use `--no-scripts` with `dumpautoload` or `cakephp-plugins.php` will not generate.
99+
100+
If you don't want to re-generate the entire autoload dump, you can run just the scripts:
101+
102+
```
103+
composer run-script post-autoload-dump
104+
```
105+
106+
Please see [composer documentation](https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload-) for details.

0 commit comments

Comments
 (0)