mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 08:12:40 +01:00
Improve Windows compatibility
Test Plan: $ arc liberate $ arc lint Reviewers: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5319
This commit is contained in:
parent
7bf26484fb
commit
a925ef9dc1
3 changed files with 3 additions and 3 deletions
|
@ -352,7 +352,7 @@ final class PhutilLibraryMapBuilder {
|
||||||
$absolute_file = $this->getPath($file);
|
$absolute_file = $this->getPath($file);
|
||||||
$bin = dirname(dirname(__FILE__)).'/phutil_symbols.php';
|
$bin = dirname(dirname(__FILE__)).'/phutil_symbols.php';
|
||||||
|
|
||||||
return new ExecFuture('%s --ugly -- %s', $bin, $absolute_file);
|
return new ExecFuture('php %s --ugly -- %s', $bin, $absolute_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ final class ArcanistPhutilLibraryLinter extends ArcanistLinter {
|
||||||
// Do these one at a time since they individually fanout to saturate
|
// Do these one at a time since they individually fanout to saturate
|
||||||
// available system resources.
|
// available system resources.
|
||||||
$future = new ExecFuture(
|
$future = new ExecFuture(
|
||||||
'%s --show --quiet --ugly -- %s',
|
'php %s --show --quiet --ugly -- %s',
|
||||||
$bin,
|
$bin,
|
||||||
phutil_get_library_root($lib));
|
phutil_get_library_root($lib));
|
||||||
$symbols[$lib] = $future->resolveJSON();
|
$symbols[$lib] = $future->resolveJSON();
|
||||||
|
|
|
@ -156,7 +156,7 @@ EOTEXT
|
||||||
$bin = $this->getScriptPath('scripts/phutil_rebuild_map.php');
|
$bin = $this->getScriptPath('scripts/phutil_rebuild_map.php');
|
||||||
|
|
||||||
return phutil_passthru(
|
return phutil_passthru(
|
||||||
'%s %C %s',
|
'php %s %C %s',
|
||||||
$bin,
|
$bin,
|
||||||
$this->getArgument('all') ? '--drop-cache' : '',
|
$this->getArgument('all') ? '--drop-cache' : '',
|
||||||
$path);
|
$path);
|
||||||
|
|
Loading…
Reference in a new issue