1
0
Fork 0

Autoload dev packages as well for script execution, refs #1430

pull/1443/head
Jordi Boggiano 2012-12-19 10:50:39 +01:00
parent 34df3947f1
commit 64ca297f97
1 changed files with 4 additions and 1 deletions

View File

@ -140,7 +140,10 @@ class EventDispatcher
}
$generator = new AutoloadGenerator;
$packages = $this->composer->getRepositoryManager()->getLocalRepository()->getPackages();
$packages = array_merge(
$this->composer->getRepositoryManager()->getLocalRepository()->getPackages(),
$this->composer->getRepositoryManager()->getLocalDevRepository()->getPackages()
);
$packageMap = $generator->buildPackageMap($this->composer->getInstallationManager(), $package, $packages);
$map = $generator->parseAutoloads($packageMap, $package);
$this->loader = $generator->createLoader($map);