Please sign in to comment.
Add the ability to point the typechecker at additional directories
Summary: The intent here is to point at dependencies that should not be modified. As such: - they are not watched for changes - if there is a duplicate definition, the one from `extra_paths` takes precedence as 'correct', in the same way that builtin HHIs take precedence over both 'extra' and ones in the root. There are two primary use cases: - allow fbcode projects such as opensource/shipit/ to use the HSL and other libraries (probably via third-party2) without copying into the tree - docs.hhvm.com: to reduce the amount of out-of-date documentation, all examples are unit tests - both for the typechecker, and the runtime. When typechecked, they need to be copied into a separate directory with nothing else (to make sure they're self-contained examples) - however, they need something like this to have access to the HSL. Reviewed By: kmeht Differential Revision: D8106266
- Loading branch information...
Showing with 31 additions and 5 deletions.