Fix for Windows to make sure to run the build command to generate AcceptanceTester

This commit is contained in:
Kubik-Rubik 2015-10-30 14:04:36 +01:00
parent f944819f3e
commit 02678e65ba
1 changed files with 3 additions and 2 deletions

View File

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