public function run()
 {
     $this->target->create();
     // wenn existierend ist egal
     $this->target->wipe();
     // löscht alles daraus
 }
Example #2
0
 /**
  * @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;
 }
Example #3
0
 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');
 }
Example #4
0
 protected function cleanUp()
 {
     $this->tempSrc->wipe()->delete();
 }
Example #5
0
 protected function buildPscCMS()
 {
     $src = $this->targetProject->getBin();
     $file = $src->getFile('psc-cms.phar.gz');
     $this->libraryBuilder->compile($file);
 }