Skip to content

Commit

Permalink
Add a bzl_library incase something needs it from here.
Browse files Browse the repository at this point in the history
RELNOTES: None.
PiperOrigin-RevId: 241996984
  • Loading branch information
thomasvl authored and swiple-rules-gardener committed Apr 4, 2019
1 parent 577a71b commit 590e39f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
14 changes: 14 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

licenses(["notice"])

exports_files(["LICENSE"])

# A bzl_library incase anything needs to depend on this for other libraries
# (like to then use stardoc).
bzl_library(
name = "bzl_library",
srcs = glob(["*.bzl"]),
visibility = ["//visibility:public"],
deps = [
"//lib:bzl_library",
"//rules:bzl_library",
],
)

# Consumed by bazel tests.
filegroup(
name = "for_bazel_tests",
Expand Down
9 changes: 9 additions & 0 deletions lib/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

licenses(["notice"])

# For the bzl_library at the root of the apple_support.
bzl_library(
name = "bzl_library",
srcs = glob(["*.bzl"]),
visibility = ["//:__pkg__"],
)

# Consumed by bazel tests.
filegroup(
name = "for_bazel_tests",
Expand Down
9 changes: 9 additions & 0 deletions rules/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

licenses(["notice"])

# For the bzl_library at the root of the apple_support.
bzl_library(
name = "bzl_library",
srcs = glob(["*.bzl"]),
visibility = ["//:__pkg__"],
)

# Consumed by bazel tests.
filegroup(
name = "for_bazel_tests",
Expand Down

0 comments on commit 590e39f

Please sign in to comment.