Skip to content

Commit 1bfa553

Browse files
committed
Show "using" on local Deployer
1 parent 5961403 commit 1bfa553

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

bin/dep

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,13 @@ if (!isset($localBinaryOverrideFound)) {
5555
break; // Already required this binary
5656
}
5757
$localBinaryOverrideFound = true; // Only do it once.
58-
if (getenv('DEPLOYER_DEBUG_PATHS')) {
59-
echo "# require \"$binary\"\n";
60-
}
58+
echo "Using $binary\n";
6159
require $binary;
6260
exit;
6361
}
6462
}
6563
}
6664

67-
if (getenv('DEPLOYER_DEBUG_PATHS')) {
68-
$path = realpath(__FILE__);
69-
echo "# using \"$path\"\n";
70-
}
71-
7265
// Detect autoload location
7366
$autoload = [
7467
__DIR__ . '/../vendor/autoload.php', // The dep located at "deployer.phar/bin" or in development.
@@ -118,4 +111,4 @@ define('DEPLOYER_BIN', __FILE__);
118111
define('DEPLOYER_DEPLOY_FILE', $deployFile);
119112
define('DEPLOYER_ROOT', getenv('DEPLOYER_ROOT') !== false ? getenv('DEPLOYER_ROOT') : dirname($deployFile));
120113

121-
Deployer\Deployer::run('v7-master', $deployFile);
114+
Deployer\Deployer::run('v7.0-master', $deployFile);

0 commit comments

Comments
 (0)