Skip to content

Commit

Permalink
Working
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter committed Oct 25, 2020
1 parent 8e67606 commit 5517e40
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Managers/PackageManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand All @@ -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',
Expand All @@ -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);
Expand Down

0 comments on commit 5517e40

Please sign in to comment.