Skip to content
Snippets Groups Projects
Commit ac0a579e authored by jurgenhaas's avatar jurgenhaas
Browse files

Include ahoy commands from the project's root composer.json

parent e22cfa66
No related branches found
Tags v1.0.5
No related merge requests found
......@@ -72,6 +72,12 @@ class Handler {
'ahoyapi' => 'v2',
'commands' => [],
];
$settings = new Utils($this->composer);
foreach ($settings->getSubSubSection('extra', 'lakedrops', 'ahoy') as $command => $commands) {
$ahoy['commands'][$command] = $commands;
}
$installationManager = $this->composer->getInstallationManager();
foreach ($this->composer->getRepositoryManager()->getLocalRepository()->search('lakedrops/*') as $pkg) {
$pluginRoot = $installationManager->getInstallPath($this->getPackage($pkg['name']));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment