2021-10-18 20:54:47 +00:00
|
|
|
# Copyright 2021 The Bazel Authors. All rights reserved.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2022-02-16 16:01:43 +00:00
|
|
|
load("@rules_license//rules:license.bzl", "license")
|
|
|
|
|
|
|
|
package(
|
|
|
|
default_applicable_licenses = [":license"],
|
|
|
|
default_visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
license(
|
|
|
|
name = "license",
|
|
|
|
license_kinds = [
|
2023-11-06 18:29:07 +00:00
|
|
|
"@rules_license//licenses/spdx:Apache-2.0",
|
2022-02-16 16:01:43 +00:00
|
|
|
],
|
|
|
|
license_text = "LICENSE",
|
|
|
|
)
|
|
|
|
|
2021-11-04 02:44:26 +00:00
|
|
|
exports_files(
|
|
|
|
["WORKSPACE"],
|
|
|
|
)
|
|
|
|
|
|
|
|
exports_files(
|
|
|
|
glob([
|
|
|
|
"*.bzl",
|
|
|
|
]),
|
2021-10-18 20:54:47 +00:00
|
|
|
)
|
2021-11-04 02:44:26 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "standard_package",
|
|
|
|
srcs = glob([
|
|
|
|
"*.bzl",
|
|
|
|
]) + [
|
|
|
|
"BUILD",
|
|
|
|
"LICENSE",
|
2023-03-29 03:44:42 +00:00
|
|
|
"MODULE.bazel",
|
2021-11-04 02:44:26 +00:00
|
|
|
],
|
|
|
|
visibility = ["//distro:__pkg__"],
|
|
|
|
)
|