mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-22 21:40:54 +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);
|
||||
$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
|
||||
// available system resources.
|
||||
$future = new ExecFuture(
|
||||
'%s --show --quiet --ugly -- %s',
|
||||
'php %s --show --quiet --ugly -- %s',
|
||||
$bin,
|
||||
phutil_get_library_root($lib));
|
||||
$symbols[$lib] = $future->resolveJSON();
|
||||
|
|
|
@ -156,7 +156,7 @@ EOTEXT
|
|||
$bin = $this->getScriptPath('scripts/phutil_rebuild_map.php');
|
||||
|
||||
return phutil_passthru(
|
||||
'%s %C %s',
|
||||
'php %s %C %s',
|
||||
$bin,
|
||||
$this->getArgument('all') ? '--drop-cache' : '',
|
||||
$path);
|
||||
|
|
Loading…
Reference in a new issue