Beispiel #1
0
<?php
define("ROOT", dirname(__FILE__).'/..');
if (false == isset($argv[1])) {
    echo "Need php_dir!\n";
    exit;
}
$system_dir = $argv[1];
require("$system_dir/libs/framework/util/generatorassembly.php");

$includePaths = array(
    ROOT,
    $system_dir.'/libs',
    $system_dir.'/client',
    $system_dir.'/entity',
);
$excludePaths = array();

$generator = new GeneratorAssembly(ROOT.'/assembly.php', $includePaths, $excludePaths);
$generator->generate();
 private function buildAssembly($targetAssembly, $includePaths, $excludePaths, $skipDebug)
 {/*{{{*/
     $generator = new GeneratorAssembly($targetAssembly, $includePaths, $excludePaths, $skipDebug);
     $generator->generate();
 }/*}}}*/