Beispiel #1
0
 /**
  * @throws \Exception
  */
 private function updateIni()
 {
     $ini = \Pickle\Engine\Ini::factory($this->php);
     $ini->updatePickleSection($this->extDll);
 }
Beispiel #2
0
 protected function updateIni()
 {
     $ini = \Pickle\Engine\Ini::factory(\Pickle\Engine::factory());
     $ini->updatePickleSection(array($this->pkg->getName()));
 }
Beispiel #3
0
 public function install()
 {
     $backCwd = getcwd();
     chdir($this->tempDir);
     /* Record the produced DLL filenames. */
     $files = (array) glob("*/*/php_*.dll");
     $files = array_merge($files, glob("*/php_*.dll"));
     $dlls = [];
     foreach ($files as $file) {
         $dlls[] = basename($file);
     }
     $res = $this->runCommand('nmake install');
     chdir($backCwd);
     if (!$res) {
         throw new \Exception('nmake install failed');
     }
     $ini = \Pickle\Engine\Ini::factory(Engine::factory());
     $ini->updatePickleSection($dlls);
 }