summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authoraiuto <aiuto@google.com>2022-02-16 11:01:43 -0500
committerGitHub <noreply@github.com>2022-02-16 11:01:43 -0500
commit3c0b36498ec9dd9e0678af809cbabb8f0aca2105 (patch)
tree93dc5bfe65bc2bbbcebcd0b9b42c3845cd4948d9 /distro
parenta8638d628c5c19ef597b3d55acf4e0ea2977a389 (diff)
downloadbazelbuild-rules_pkg-3c0b36498ec9dd9e0678af809cbabb8f0aca2105.tar.gz
Add @rules_license style license declarations (#508)
* Add @rules_license declarations. This is a little more unwieldy than we would like, in that we hand add them to each BUILD file. This should be enforced with a test, but it should be a non-Bazel test at the source code level.
Diffstat (limited to 'distro')
-rw-r--r--distro/BUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/distro/BUILD b/distro/BUILD
index afbc67c..024faa2 100644
--- a/distro/BUILD
+++ b/distro/BUILD
@@ -20,9 +20,8 @@ load("@rules_python//python:defs.bzl", "py_test")
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("@bazel_stardoc//stardoc:stardoc.bzl", "stardoc")
-licenses(["notice"])
-
package(
+ default_applicable_licenses = ["//:license"],
default_visibility = ["//visibility:private"],
)