-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test project for elp bxl query
Summary: Add an ELP test project demonstrating a complex include path, that compiles for BUCK, but results in unresolved includes for ELP. Reviewed By: robertoaloi Differential Revision: D57436907 fbshipit-source-id: 210452a4165c06a509e2a1820274911946674df7
- Loading branch information
1 parent
2bb78a7
commit e755c76
Showing
5 changed files
with
16 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[buck] | ||
enabled = true | ||
build_deps = false | ||
included_targets = [ "fbcode//whatsapp/elp/test_projects/buck_tests_2/util/app_a/..." ] | ||
excluded_targets = [ "fbcode//whatsapp/elp/test_projects/buck_tests_2:test_elp_ignored" ] | ||
source_root = "whatsapp/elp/test_projects/buck_tests_2" | ||
|
||
[eqwalizer] | ||
enable_all = false |
2 changes: 2 additions & 0 deletions
2
test_projects/buck_tests_2/auto_gen/auto_gen_a/include/auto_gen_a.hrl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
% Include file from auto_gen_a | ||
-define(AG, 2). |
1 change: 1 addition & 0 deletions
1
test_projects/buck_tests_2/auto_gen/auto_gen_a/src/auto_gen_a.erl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-module(auto_gen_a). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
%% Test that a file can be excluded from the project model |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-module(app_a). | ||
|
||
-include_lib("auto_gen_a/include/auto_gen_a.hrl"). |