From 5517e402bb207c4bb27f5578d6db220c54a75040 Mon Sep 17 00:00:00 2001 From: Bob den Otter Date: Sun, 25 Oct 2020 10:00:22 +0100 Subject: [PATCH] Working --- src/Managers/PackageManager.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Managers/PackageManager.php b/src/Managers/PackageManager.php index 8c3109d..a37f1c1 100644 --- a/src/Managers/PackageManager.php +++ b/src/Managers/PackageManager.php @@ -71,6 +71,8 @@ public function installBinaries(PackageInterface $package, $binDir) { $sourceDir = $this->systemUtils->composePath($this->vendorDir, $package->getTargetDir()); + echo "\n== installBinaries == \n"; + \Symfony\Component\VarDumper\VarDumper::dump($this->vendorDir); \Symfony\Component\VarDumper\VarDumper::dump($package->getTargetDir()); @@ -95,6 +97,10 @@ public function installBinaries(PackageInterface $package, $binDir) ); } + echo "\n\n== Matches ==\n\n"; + \Symfony\Component\VarDumper\VarDumper::dump($matches); + + if (!$matches) { $errorMessage = sprintf( 'Could not locate binaries (%s) from downloaded source', @@ -110,7 +116,9 @@ public function installBinaries(PackageInterface $package, $binDir) throw new \Exception($errorMessage); } - + + echo "\n== end installBinaries == \n"; + $fileRenames = $this->pluginConfig->getExecutableFileRenames(); $this->fileSystem->ensureDirectoryExists($binDir);