Page MenuHomePhabricator

Attempt to automatically build XHPAST.
ClosedPublic

Authored by joshuaspence on May 12 2014, 2:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 9:59 PM
Unknown Object (File)
Fri, Apr 19, 2:42 PM
Unknown Object (File)
Fri, Apr 19, 2:42 PM
Unknown Object (File)
Thu, Apr 18, 9:18 PM
Unknown Object (File)
Wed, Apr 10, 6:12 PM
Unknown Object (File)
Sat, Apr 6, 2:35 AM
Unknown Object (File)
Wed, Apr 3, 7:12 PM
Unknown Object (File)
Wed, Apr 3, 7:12 PM
Subscribers

Details

Summary

Fixes T4951. Whilst xhpast was originally intended to be an internal development tool, it is not unreasonable for ArcanistXHPASTLinter to be used externally. Currently, however, if the compiled version of xhpast is not up-to-date, we simply exit and ask the user to build XHPAST themselves. Instead, let's try to build XHPAST automatically.

Test Plan

Removed ./src/parser/xhpast/bin/xhpast and ran arc lint over a PHP file. Verified that the xhpast binary was created during this process.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Skipped
Unit
Tests Skipped