예제 #1
0
파일: Plugin.php 프로젝트: Flesh192/magento
 /**
  * event listener is named this way, as it listens for events leading to changed code files
  *
  * @param \Composer\Script\CommandEvent $event
  */
 public function onNewCodeEvent(\Composer\Script\CommandEvent $event)
 {
     if ($this->io->isDebug()) {
         $this->io->write('start magento deploy via deployManager');
     }
     $this->deployManager->doDeploy();
     $this->deployLibraries();
     $this->saveVendorDirPath($event->getComposer());
 }
예제 #2
0
 /**
  * event listener is named this way, as it listens for events leading to changed code files
  * 
  * @param \Composer\Script\CommandEvent $event
  */
 public function onNewCodeEvent(\Composer\Script\CommandEvent $event)
 {
     if ($this->io->isDebug()) {
         $this->io->write('start magento deploy via deployManager');
     }
     $command = $event->getName();
     $this->deployManager->doDeploy();
     $this->deployLibraries();
 }
예제 #3
0
 /**
  * event listener is named this way, as it listens for events leading to changed code files
  *
  * @param \Composer\Script\Event $event
  */
 public function onNewCodeEvent(\Composer\Script\Event $event)
 {
     if ($this->io->isDebug()) {
         $this->io->write('start magento deploy via deployManager');
     }
     $this->deployManager->doDeploy();
     $this->deployLibraries();
     $this->saveVendorDirPath($event->getComposer());
     $this->requestRegeneration();
     $this->setFilePermissions();
 }
예제 #4
0
 /**
  * event listener is named this way, as it listens for events leading to changed code files
  *
  * @param \Composer\Script\Event $event
  */
 public function onNewCodeEvent(\Composer\Script\Event $event)
 {
     if ($this->io->isDebug()) {
         $this->io->write('start magento deploy via deployManager');
     }
     $this->deployManager->doDeploy();
     $this->deployLibraries();
     $this->saveVendorDirPath($event->getComposer());
     $filename = $this->installer->getTargetDir() . $this->regenerate;
     touch($filename);
 }