mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-15 03:12:40 +01:00
6d15c6ea48
Summary: Depends on D21063. Ref T13492. Currently, XHPAST defines a version in both PHP code and C code, and they must be kept in sync. Switch to a single definition in PHP, then carry it through the build pipeline into C. Test Plan: Did a clean rebuild of XHPAST, saw a version number carried in from PHP. Ran "xhpast --version". Maniphest Tasks: T13492 Differential Revision: https://secure.phabricator.com/D21064
8 lines
205 B
PHP
Executable file
8 lines
205 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
$arcanist_root = dirname(dirname(dirname(dirname(__FILE__))));
|
|
require_once $arcanist_root.'/support/init/init-script.php';
|
|
|
|
echo PhutilXHPASTBinary::EXPECTED_VERSION;
|
|
echo "\n";
|