Build command with the bin folder

This commit is contained in:
Kubik-Rubik 2015-10-30 16:10:20 +01:00
parent 02678e65ba
commit 3f6f869f3d
1 changed files with 4 additions and 4 deletions

View File

@ -58,8 +58,8 @@ class RoboFile extends \Robo\Tasks
$this->runSelenium();
// Make sure to Run the Build Command to Generate AcceptanceTester
$this->_exec('php' . $this->extension . ' vendor/codeception/codeception/codecept build');
// Make sure to tun the build command to generate AcceptanceTester
$this->_exec($this->isWindows() ? 'vendor/bin/codecept.bat build' : 'php vendor/bin/codecept build');
$this->taskCodecept()
->arg('--steps')
@ -113,8 +113,8 @@ class RoboFile extends \Robo\Tasks
{
$this->runSelenium();
// Make sure to Run the Build Command to Generate AcceptanceTester
$this->_exec('php' . $this->extension . ' vendor/codeception/codeception/codecept build');
// Make sure to tun the build command to generate AcceptanceTester
$this->_exec($this->isWindows() ? 'vendor/bin/codecept.bat build' : 'php vendor/bin/codecept build');
if (!$pathToTestFile)
{