Skip to content

Commit 04e6945

Browse files
Eugene Yokotajenkins
Eugene Yokota
authored and
jenkins
committed
[Bazel] Add empty BUILD file to prevent full build
Problem ------- SQ query walks up to find the affected targets, and end up causing full build for various targets. Solution -------- This adds guard `BUILD.bazel` file for all toplevel directories that do not have a BUILD file. JIRA Issues: DPB-15983, DPB-14048 Differential Revision: https://phabricator.twitter.biz/D902602
1 parent 5764017 commit 04e6945

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BUILD.bazel

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# This prevents SQ query from grabbing //:all since it traverses up once to find a BUILD (DPB-14048)

0 commit comments

Comments
 (0)