aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-04-15 10:54:58 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2016-04-15 14:07:34 +0000
commitcc52abf2470e9a87e3a7dbddca350307156a6524 (patch)
tree322dd5cca70fc6fad861c73541ddde1b080d1c50 /BUILD
parenta049b24cacfef245a0f6ef196436b64b953575ea (diff)
Do not recursively globs in the root BUILD file of Bazel
This is triggering some weird errors on ci.bazel.io where it tries to look at files under the convenience symlink. Instead just glob files on the top-level path, the other files are all in sub-package anyway. -- MOS_MIGRATED_REVID=119941636
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/BUILD b/BUILD
index 2ff0bc9d79..fc3bb5eb66 100644
--- a/BUILD
+++ b/BUILD
@@ -19,12 +19,12 @@ filegroup(
filegroup(
name = "srcs",
srcs = glob(
- ["**"],
+ ["*"],
exclude = [
- "bazel-*/**", # convenience symlinks
- "out/**", # IntelliJ with setup-intellij.sh
- "output/**", # output of compile.sh
- ".*/**", # mainly git
+ "bazel-*", # convenience symlinks
+ "out", # IntelliJ with setup-intellij.sh
+ "output", # output of compile.sh
+ ".*", # mainly .git* files
],
) + [
"//examples:srcs",