2022-11-07 10:25:38 +00:00
|
|
|
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
2024-05-01 21:24:18 +00:00
|
|
|
load("@rules_license//rules:license.bzl", "license")
|
|
|
|
|
|
|
|
package(default_applicable_licenses = ["@bazel_skylib//:license"])
|
|
|
|
|
|
|
|
license(
|
|
|
|
name = "license",
|
|
|
|
package_name = "bazelbuild/bazel_skylib_gazelle_module",
|
|
|
|
license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"],
|
|
|
|
)
|
2022-11-07 10:25:38 +00:00
|
|
|
|
2023-01-27 15:02:13 +00:00
|
|
|
exports_files(["WORKSPACE.bzlmod"])
|
|
|
|
|
2022-11-07 10:25:38 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "setup",
|
|
|
|
srcs = ["setup.bzl"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"@bazel_gazelle//:deps",
|
|
|
|
"@io_bazel_rules_go//go:deps",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "workspace",
|
|
|
|
srcs = ["workspace.bzl"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"@bazel_skylib//:workspace",
|
|
|
|
"@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
|
|
"@bazel_tools//tools/build_defs/repo:utils.bzl",
|
|
|
|
],
|
|
|
|
)
|
2023-01-20 21:48:10 +00:00
|
|
|
|
|
|
|
# TODO(arostovtsev): exclude everything below from distro tarball
|
|
|
|
filegroup(
|
|
|
|
name = "distribution",
|
2023-01-27 15:02:13 +00:00
|
|
|
srcs = [
|
|
|
|
"BUILD",
|
|
|
|
"MODULE.bazel",
|
|
|
|
"WORKSPACE.bzlmod",
|
|
|
|
"setup.bzl",
|
|
|
|
"workspace.bzl",
|
|
|
|
],
|
2023-01-20 21:48:10 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|