public function run() { $this->target->create(); // wenn existierend ist egal $this->target->wipe(); // löscht alles daraus }
/** * @return Webforge\Common\System\Dir */ public function getTarget() { if (!isset($this->target)) { $this->target = $this->deploymentsRoot->sub($this->project->getName() . ($this->variant ? '.' . $this->variant : NULL) . '/'); } return $this->target; }
public function testPHPSettings() { $this->assertAndTrySetINI('mbstring.internal_encoding', 'UTF-8'); $dir = new \Webforge\Common\System\Dir(getenv('PSC_CMS')); $this->assertTrue($dir->exists(), $dir . ' existiert nicht'); }
protected function cleanUp() { $this->tempSrc->wipe()->delete(); }
protected function buildPscCMS() { $src = $this->targetProject->getBin(); $file = $src->getFile('psc-cms.phar.gz'); $this->libraryBuilder->compile($file); }