addDescription( 'Creates JavaScript font repository.' ); } public function execute() { $base = dirname( __DIR__ ); $compiler = new FontRepoCompiler( "$base/data/fontrepo/fonts", '../data/fontrepo/fonts/' ); $list = $compiler->getRepository(); $json = FormatJson::encode( $list, "\t" ); $js = <<output( "Done.\n" ); } } $maintClass = 'UniversalLanguageSelector\CompileFontRepo'; require_once RUN_MAINTENANCE_IF_MAIN;