Эх сурвалжийг харах

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.
Daniele Alessandri 13 жил өмнө
parent
commit
74d7fdfcef
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      bin/composer

+ 1 - 0
bin/composer

@@ -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();