From 3f6f869f3d6e3404c49086bc015870d6b48285a1 Mon Sep 17 00:00:00 2001 From: Kubik-Rubik Date: Fri, 30 Oct 2015 16:10:20 +0100 Subject: [PATCH] Build command with the bin folder --- RoboFile.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RoboFile.php b/RoboFile.php index 291bae0..aba1c90 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -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) {