Skip to content

Commit

Permalink
Merge pull request #4 from magento-ogre/MAGETWO-50330-rocketweb-pr
Browse files Browse the repository at this point in the history
Ogre Rocketweb PR
  • Loading branch information
He, Joan(johe) committed Apr 6, 2016
2 parents 5b5d29e + 59c9786 commit 9a415d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/MagentoHackathon/Composer/Magento/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ public function __construct(IOInterface $io, Composer $composer, $type = 'magent
$this->isForced = (bool)$extra['magento-force'];
}

if (false !== getenv('PLATFORM_PROJECT')) {
$this->setDeployStrategy('none');
}

if (isset($extra['magento-deploystrategy'])) {
$this->setDeployStrategy((string)$extra['magento-deploystrategy']);
}
Expand Down

0 comments on commit 9a415d7

Please sign in to comment.