/**
* Run any extra scripts.
*
* @param JonathanTorres\Construct\Helpers\Script $script
*
* @return void
*/
protected function scripts(Script $script)
{
$testingFramework = $this->settings->getTestingFramework();
if ($this->file->isDirectory($this->projectLower)) {
if ($testingFramework === 'behat') {
$script->initBehat($this->projectLower);
}
if ($testingFramework === 'codeception') {
$script->bootstrapCodeception($this->projectLower);
}
}
}