mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-22 16:27:39 +01:00
Add additional paths for autoload.php check
This commit is contained in:
parent
01b0fcf0f2
commit
74ddca8e16
2
bin/dep
2
bin/dep
@ -59,10 +59,12 @@ foreach ($binaries as $binary) {
|
||||
$autoload = [
|
||||
__DIR__ . '/../vendor/autoload.php', // The dep located at "deployer.phar/bin" or in development.
|
||||
__DIR__ . '/../../../autoload.php', // The dep located at "vendor/deployer/deployer/bin".
|
||||
__DIR__ . '/../autoload.php', // The dep located at "vendor/bin".
|
||||
];
|
||||
$includes = [
|
||||
__DIR__ . '/..',
|
||||
__DIR__ . '/../../../deployer/deployer',
|
||||
__DIR__ . '/../deployer/deployer',
|
||||
];
|
||||
$includePath = false;
|
||||
for ($i = 0; $i < count($autoload); $i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user