Skip to content

Commit

Permalink
Use for_platforms with //:_binary-artifacts-and-hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Feb 23, 2019
1 parent 0298701 commit 6a12517
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions build/root/BUILD.root
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ load("//build:platforms.bzl", "for_platforms")

filegroup(
name = "_binary-artifacts-and-hashes",
srcs = [
"//build:client-targets-and-hashes",
"//build:docker-artifacts-and-hashes",
"//build:node-targets-and-hashes",
"//build:server-targets-and-hashes",
"//build/debs:debs-and-hashes",
],
srcs = select(for_platforms(
for_client = ["//build:client-targets-and-hashes"],
for_node = [
"//build:node-targets-and-hashes",
"//build/debs:debs-and-hashes",
],
for_server = [
"//build:docker-artifacts-and-hashes",
"//build:server-targets-and-hashes",
],
)),
visibility = ["//visibility:private"],
)

Expand Down

0 comments on commit 6a12517

Please sign in to comment.