Create a binary packager for Bazel
This packager can be called by the release scripts to generate
a self-extractable bash installer for Bazel. This script was
tested by hand as extra arguments can be specified to change
the default install of Bazel (default is system-wide and
with the argument you can make a user install).
This will be the only packager for now since GitHub is offering
the possibility to download the source tree as a ZIP. Hopefully,
before the end of the year we could build some more package kind.
--
Change-Id: I1a2d0cd39b9e4adcaf6c984ec4c855a04213b61a
Reviewed-on: https://bazel-review.googlesource.com/1581
MOS_MIGRATED_REVID=99258828
diff --git a/tools/jdk/BUILD b/tools/jdk/BUILD
index e15e8bf..87b3a0b 100644
--- a/tools/jdk/BUILD
+++ b/tools/jdk/BUILD
@@ -89,3 +89,8 @@
name = "srcs",
srcs = ["BUILD"], # Tools are build from the workspace for tests.
)
+
+filegroup(
+ name = "package-srcs",
+ srcs = glob(["**"]),
+)