芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/vendor/codeception/codeception/src/Codeception/Command/Clean.php
cleanProjectsRecursively($output, $projectDir); $output->writeln("Done"); return 0; } private function cleanProjectsRecursively(OutputInterface $output, $projectDir) { $config = Configuration::config($projectDir); $logDir = Configuration::logDir(); $output->writeln("
Cleaning up output " . $logDir . "...
"); FileSystem::doEmptyDir($logDir); $subProjects = $config['include']; foreach ($subProjects as $subProject) { $subProjectDir = $projectDir . $subProject; $this->cleanProjectsRecursively($output, $subProjectDir); } } }