From 7de6cf7a7d6e0639c6c5e1a489fe3c00417921c4 Mon Sep 17 00:00:00 2001 From: Xavier Bonaventura Date: Sat, 5 Nov 2022 10:54:31 +0100 Subject: [PATCH] Build with incompatible_disallow_empty_glob In order to flip the flag, all downstream projects should be adapted. However, it is hard to fix them all if there are constant regressions. Adding it to the CI will ensure that once the project can build with incompatible_disallow_empty_glob it can keep building like that. See: https://github.com/bazelbuild/bazel/pull/15327 --- .bazelci/presubmit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index d06e588bf9..c763047142 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -4,9 +4,13 @@ tasks: platform: ubuntu2004 shell_commands: - "sudo apt -y update && sudo apt -y install libreadline-dev cmake rsync" + build_flags: + - "--incompatible_disallow_empty_glob" test_targets: - //... macos: platform: macos + build_flags: + - "--incompatible_disallow_empty_glob" test_targets: - //...