Exemple #1
0
 /**
  * Perform project deployment
  */
 protected function deploy()
 {
     // If this is remote app - chdir to it
     if (__SAMSON_REMOTE_APP) {
         // Create folder
         $this->remote->mkDir(str_replace('/', '', __SAMSON_BASE__));
     }
     // Выполним синхронизацию папок
     $this->synchronize($this->sourceroot);
 }
Exemple #2
0
 public function testMkDir()
 {
     $this->remote->mkDir('test');
     $this->remote->mkDir('test2');
 }