Page MenuHomePhabricator

Remove duplication of XHPAST version in PHP and C code
ClosedPublic

Authored by epriestley on Apr 7 2020, 9:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 12:32 PM
Unknown Object (File)
Wed, Dec 18, 8:31 AM
Unknown Object (File)
Tue, Dec 17, 2:56 AM
Unknown Object (File)
Sun, Dec 15, 3:43 PM
Unknown Object (File)
Sat, Dec 14, 7:18 AM
Unknown Object (File)
Tue, Nov 26, 4:43 PM
Unknown Object (File)
Nov 21 2024, 8:05 AM
Unknown Object (File)
Nov 21 2024, 8:03 AM
Subscribers
None

Details

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".

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable