30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-03 06:50:49 +00:00

Let this file looks good the seccond :)

This commit is contained in:
zero-24 2015-05-30 22:17:14 +02:00
parent 42ec255422
commit 3938c8fd7a

View File

@ -21,7 +21,7 @@ class RoboFile extends \Robo\Tasks
* Set the Executeextension * Set the Executeextension
* *
* @return void * @return void
*/ */
public function setExecExtension() public function setExecExtension()
{ {
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
@ -85,7 +85,7 @@ class RoboFile extends \Robo\Tasks
// Make sure we have Composer // Make sure we have Composer
if (!file_exists('./composer.phar')) if (!file_exists('./composer.phar'))
{ {
$this->_exec('curl'.$this->extension.' -sS https://getcomposer.org/installer | php'); $this->_exec('curl' . $this->extension . ' -sS https://getcomposer.org/installer | php');
} }
$this->taskComposerUpdate()->run(); $this->taskComposerUpdate()->run();
@ -105,7 +105,7 @@ class RoboFile extends \Robo\Tasks
} }
// Loading Symfony Command and running with passed argument // Loading Symfony Command and running with passed argument
$this->_exec('php'.$this->extension.' vendor/bin/codecept build'); $this->_exec('php' . $this->extension . ' vendor/bin/codecept build');
$this->taskCodecept() $this->taskCodecept()
->suite('acceptance') ->suite('acceptance')