public function cleanCommand()
    {
        if (is_dir($this->buildSettings['target'])) {
            \TYPO3\Flow\Utility\Files::removeDirectoryRecursively($this->buildSettings['target']);
        }
        mkdir($this->buildSettings['target']);

        $this->outputLine('Cleaned target folder.', [], CommandController::OK);
    }