diff options
author | Klaus Aehlig <aehlig@google.com> | 2016-10-22 07:59:41 +0000 |
---|---|---|
committer | John Cater <jcater@google.com> | 2016-10-24 19:28:00 +0000 |
commit | 4ca79d48cc8d514708dda7286fc83171bc81d4fc (patch) | |
tree | 2b49a79e6af01f1811eae10439751f348c244fd0 /BUILD | |
parent | b8fbde3d8291c0bb2a60a714890d680e34754260 (diff) |
Create a distribution artifact
...containing, besides the original sources, all generated machine-independent
files needed for creating a bootstrap bazel without the need of having a protoc
installed.
--
Change-Id: Ib90e7896615b4067175a23fe2c942dbac4b71e4a
Reviewed-on: https://bazel-review.googlesource.com/#/c/6730
MOS_MIGRATED_REVID=136910561
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -58,3 +58,14 @@ pkg_tar( # Public but bazel-only visibility. visibility = ["//:__subpackages__"], ) + +genrule( + name = "bazel-distfile", + srcs = [ + ":bazel-srcs", + "//src:derived_java_srcs", + ], + outs = ["bazel-distfile.zip"], + cmd = "$(location :combine_distfiles.sh) $@ $(SRCS)", + tools = ["combine_distfiles.sh"], +) |