-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
9/n: Find app root based on BuckTarget info only
Summary: The previous buck project model tried to synthesise an application per directory. To do this, it would attempt to identify the root directory, using various heuristics such as if there is a `src`, `tests` or `includes` directory. For the new project model, we already receive absolute paths from the bxl query, and can choose the highest common path of all the included source files. We have a fallback to the base directory of the BUCK file containing the target, but that should never be used. Reviewed By: robertoaloi Differential Revision: D65946488 fbshipit-source-id: 38e1338e5de5ea7fd5806818bf0e0f485236f499
- Loading branch information
1 parent
0decf14
commit 2541fd6
Showing
1 changed file
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters