/** * @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; }
/** * @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'); }
/** * @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'); }
/** * @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'); }
/** * @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'); }