public function getPreTasks()
    {
        if ($this->preTasks != null) {
            return $this->preTasks;
        }

        /** @noinspection PhpUndefinedFieldInspection */
        return $this->preTasks = $this->getScripts($this->configFile->preTasks);
    }