diff --git a/BUILD b/BUILD index 83a4a58..8000d2b 100644 --- a/BUILD +++ b/BUILD @@ -27,6 +27,8 @@ filegroup( name = "for_bazel_tests", testonly = 1, srcs = [ + "BUILD", + "LICENSE", "WORKSPACE", "//lib:for_bazel_tests", "//rules:for_bazel_tests", diff --git a/lib/BUILD b/lib/BUILD index 50816f0..66f7753 100644 --- a/lib/BUILD +++ b/lib/BUILD @@ -2,11 +2,14 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library") licenses(["notice"]) +package( + default_visibility = ["//visibility:public"], +) + # Public bzl_library for anything that needs to depend on apple_support.bzl. bzl_library( name = "apple_support", srcs = ["apple_support.bzl"], - visibility = ["//visibility:public"], deps = [ "@bazel_skylib//lib:types", ], @@ -15,7 +18,6 @@ bzl_library( bzl_library( name = "lipo", srcs = ["lipo.bzl"], - visibility = ["//visibility:public"], deps = [ ":apple_support", "@bazel_skylib//lib:shell", @@ -26,14 +28,12 @@ bzl_library( bzl_library( name = "xcode_support", srcs = ["xcode_support.bzl"], - visibility = ["//visibility:public"], ) # Public bzl_library for anything that needs to depend on repositories.bzl. bzl_library( name = "repositories", srcs = ["repositories.bzl"], - visibility = ["//visibility:public"], ) # Consumed by bazel tests. diff --git a/rules/BUILD b/rules/BUILD index ccb7ca6..19ce2b3 100644 --- a/rules/BUILD +++ b/rules/BUILD @@ -2,11 +2,14 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library") licenses(["notice"]) +package( + default_visibility = ["//visibility:public"], +) + # Public bzl_library for anything that needs to depend on apple_genrule.bzl. bzl_library( name = "apple_genrule", srcs = ["apple_genrule.bzl"], - visibility = ["//visibility:public"], deps = [ "//rules/private:apple_genrule", ],