aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-07-01 13:33:48 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-07-01 13:36:48 +0000
commit7d265e07e7a1e37f04d53342710e4f21d9ee8083 (patch)
treed84b71d801ab8065f9f4f5b94972643c4c26b580 /scripts/release
parentfdb5a8c06985d78c55981a981a72bd4f0766ddb8 (diff)
Add all the sources to //:srcs filegroup and add a check to detect
missing file to it. We need to activate this check on presubmits -- Change-Id: Ia95e92d3816ce92bb69bc0e2cf56e9c60b68d970 Reviewed-on: https://bazel-review.googlesource.com/#/c/3949/ MOS_MIGRATED_REVID=126404792
Diffstat (limited to 'scripts/release')
-rw-r--r--scripts/release/BUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/release/BUILD b/scripts/release/BUILD
index 7ccd9d5596..a6a4ab0801 100644
--- a/scripts/release/BUILD
+++ b/scripts/release/BUILD
@@ -1,6 +1,12 @@
# Scripts for building Bazel releases
package(default_visibility = ["//visibility:private"])
+filegroup(
+ name = "srcs",
+ srcs = glob(["**"]),
+ visibility = ["//scripts:__pkg__"],
+)
+
sh_library(
name = "relnotes",
srcs = ["relnotes.sh"],