Skip to content

Commit

Permalink
Update bzl_library dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aherrmann committed Sep 6, 2022
1 parent b133580 commit 6e83db3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sh/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ bzl_library(
":bazel_tools",
"@bazel_skylib//lib:paths",
"@bazel_skylib//lib:dicts",
"//sh/private:defs.bzl"
"//sh/private:defs",
],
)

Expand All @@ -44,6 +44,8 @@ bzl_library(
visibility = ["//visibility:public"],
deps = [
":bazel_tools",
"//sh/private:defs",
"//sh/private:posix",
"@bazel_skylib//lib:paths",
],
)
Expand Down
20 changes: 20 additions & 0 deletions sh/private/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load(":defs.bzl", "bool_constant")

bool_constant(
Expand All @@ -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"])

0 comments on commit 6e83db3

Please sign in to comment.