Changeset View
Changeset View
Standalone View
Standalone View
src/moduleutils/PhutilLibraryMapBuilder.php
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | /* -( Symbol Analysis and Caching )---------------------------------------- */ | ||||
private function buildSymbolAnalysisFuture($file) { | private function buildSymbolAnalysisFuture($file) { | ||||
$absolute_file = $this->getPath($file); | $absolute_file = $this->getPath($file); | ||||
return self::newExtractSymbolsFuture( | return self::newExtractSymbolsFuture( | ||||
array(), | array(), | ||||
array($absolute_file)); | array($absolute_file)); | ||||
} | } | ||||
private static function newExtractSymbolsFuture(array $flags, array $paths) { | private static function newExtractSymbolsFuture(array $flags, array $paths) { | ||||
$bin = dirname(__FILE__).'/../../support/lib/extract-symbols.php'; | $bin = __DIR__.'/../../support/lib/extract-symbols.php'; | ||||
return new ExecFuture( | return new ExecFuture( | ||||
'php -f %R -- --ugly %Ls -- %Ls', | 'php -f %R -- --ugly %Ls -- %Ls', | ||||
$bin, | $bin, | ||||
$flags, | $flags, | ||||
$paths); | $paths); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 234 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0