Closed xerc closed 3 years ago
We could add a file_exists()
check here but this could lead to hard to find errors if the entry in the manifest.php or the setup directory are not named the same (e.g. due to a spelling issue). Thus, we made sure that there's a .gitkeep
file in lib/custom/setup
for newly created extensions, so this directory isn't a problem when you check out the extension from a Git repository (which doesn't create empty directories).
@ ext/test/manifest.php
$ php artisan aimeos:setup
breaks if folder wihin EXT path is missing; ext/test/lib/custom/setup https://github.com/aimeos/aimeos-core/blob/eb2e68fe2f0bfb73c8ac806b9fa24ef2db6a9b85/lib/mwlib/src/MW/Setup/Manager/Base.php#L120