JonathanTorres\Construct\Construct::scripts PHP Method

scripts() protected method

Run any extra scripts.
protected scripts ( Script $script ) : void
$script JonathanTorres\Construct\Helpers\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);
            }
        }
    }