Merge branch 'release/1.0.8'

This commit is contained in:
Stepan Yamilov 2016-04-25 20:45:03 +05:00
commit 4d2f7f1447

View file

@ -0,0 +1,31 @@
<?php
namespace Mage\Task\BuiltIn\Composer;
use Mage\Task\ErrorWithMessageException;
class DownloadTask extends ComposerAbstractTask
{
/**
* Returns the Title of the Task
* @return string
*/
public function getName()
{
return 'Download current version of composer [built-in]';
}
/**
* Runs the task
*
* @return boolean
* @throws ErrorWithMessageException
*/
public function run()
{
$command = "wget https://getcomposer.org/composer.phar";
$this->runCommandRemote($command);
return true;
}
}