Example #1
0
 /**
  * @param InputInterface $input
  * @param OutputInterface $output
  */
 protected function preExecute(InputInterface $input, OutputInterface $output)
 {
     parent::preExecute($input, $output);
     // check if modman is installed
     exec('modman --version', $output, $return);
     if ($return === 127) {
         $this->useModman = false;
     }
     // create extension root directory if necessary
     $this->magentoRoot = $this->validateTarget($this->config->getTarget());
     $extensionRootDir = $this->magentoRoot . DIRECTORY_SEPARATOR . '.modman';
     if (!is_dir($extensionRootDir)) {
         Logger::log('Creating extension root directory %s', array($extensionRootDir));
         mkdir($extensionRootDir);
     }
     $this->extensionRootDir = $extensionRootDir;
 }
Example #2
0
 /**
  * @see vendor/symfony/src/Symfony/Component/Console/Command/Symfony\Component\Console\Command.Command::configure()
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('plugins');
     $this->setDescription('Run Jumpstorm plugins');
 }
Example #3
0
 /**
  * @see vendor/symfony/src/Symfony/Component/Console/Command/Symfony\Component\Console\Command.Command::configure()
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('extensions');
     $this->setDescription('Install extensions');
 }
Example #4
0
 /**
  * @see vendor/symfony/src/Symfony/Component/Console/Command/Symfony\Component\Console\Command.Command::configure()
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('run');
     $this->setDescription('Combines the other commands: install Magento, prepare unittesting, install extensions and run plugins');
 }
Example #5
0
 /**
  * @see vendor/symfony/src/Symfony/Component/Console/Command/Symfony\Component\Console\Command.Command::configure()
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('magento');
     $this->setDescription('Install Magento');
 }