Open-source Bazel bash completion script
This script enable shell completion for Bazel inside the Bourne-again shell.
Fixes #38
--
MOS_MIGRATED_REVID=90745457
diff --git a/src/BUILD b/src/BUILD
index 3149a45..1677995 100644
--- a/src/BUILD
+++ b/src/BUILD
@@ -80,7 +80,10 @@
cmd = "cat $(location //src/main/cpp:client) package-zip > $@ && zip -qA $@",
executable = 1,
output_to_bindir = 1,
- visibility = ["//src/test:__subpackages__"], # For integration tests
+ visibility = [
+ "//scripts:__pkg__", # For bash completion generation
+ "//src/test:__subpackages__", # For integration tests
+ ],
)
filegroup(