1
0
Fork 0

Fix missing support for the symfony-bundle package type.

Using Composer\Installer\LibraryInstaller to handle the installation of
packages that specify the "symfony-bundle" type is just a temporary solution
while waiting to better define how packages shipping Symfony bundles should
be treated.
pull/48/head
Daniele Alessandri 2011-10-15 14:34:16 +02:00
parent e09f6900da
commit 74d7fdfcef
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ $dm->setDownloader('zip', new Downloader\ZipDownloader());
// initialize installation manager // initialize installation manager
$im = new Installer\InstallationManager(); $im = new Installer\InstallationManager();
$im->setInstaller('library', new Installer\LibraryInstaller('vendor', $dm, $rm->getLocalRepository())); $im->setInstaller('library', new Installer\LibraryInstaller('vendor', $dm, $rm->getLocalRepository()));
$im->setInstaller('symfony-bundle', new Installer\LibraryInstaller('vendor/bundles', $dm, $rm->getLocalRepository()));
// load package // load package
$loader = new Package\Loader\JsonLoader(); $loader = new Package\Loader\JsonLoader();