From 6e83db30f87b23043c825d3a0aace67fc5de3bc4 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Tue, 6 Sep 2022 11:30:51 +0200 Subject: [PATCH] Update bzl_library dependencies --- sh/BUILD.bazel | 4 +++- sh/private/BUILD.bazel | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/sh/BUILD.bazel b/sh/BUILD.bazel index 08c49b5..ada9e49 100644 --- a/sh/BUILD.bazel +++ b/sh/BUILD.bazel @@ -32,7 +32,7 @@ bzl_library( ":bazel_tools", "@bazel_skylib//lib:paths", "@bazel_skylib//lib:dicts", - "//sh/private:defs.bzl" + "//sh/private:defs", ], ) @@ -44,6 +44,8 @@ bzl_library( visibility = ["//visibility:public"], deps = [ ":bazel_tools", + "//sh/private:defs", + "//sh/private:posix", "@bazel_skylib//lib:paths", ], ) diff --git a/sh/private/BUILD.bazel b/sh/private/BUILD.bazel index e70e2b9..5a984e2 100644 --- a/sh/private/BUILD.bazel +++ b/sh/private/BUILD.bazel @@ -1,3 +1,4 @@ +load("@bazel_skylib//:bzl_library.bzl", "bzl_library") load(":defs.bzl", "bool_constant") bool_constant( @@ -9,4 +10,23 @@ bool_constant( visibility = ["//visibility:public"], ) +bzl_library( + name = "defs", + srcs = [ + "defs.bzl", + ], + deps = [ + "@bazel_skylib//lib:dicts", + ], + visibility = ["//sh:__subpackages__"], +) + +bzl_library( + name = "posix", + srcs = [ + "posix.bzl", + ], + visibility = ["//sh:__subpackages__"], +) + exports_files(["defs.bzl"])