| load("@bazel_skylib//:bzl_library.bzl", "bzl_library") |
| load("@rules_license//rules:license.bzl", "license") |
| |
| package(default_applicable_licenses = ["//:license"]) |
| |
| license( |
| name = "license", |
| package_name = "bazelbuild/bazel_skylib_gazelle_module", |
| license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"], |
| ) |
| |
| licenses(["notice"]) |
| |
| exports_files(["WORKSPACE.bzlmod"]) |
| |
| 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", |
| ], |
| ) |
| |
| # TODO(arostovtsev): exclude everything below from distro tarball |
| filegroup( |
| name = "distribution", |
| srcs = [ |
| "BUILD", |
| "MODULE.bazel", |
| "WORKSPACE.bzlmod", |
| "setup.bzl", |
| "workspace.bzl", |
| ], |
| visibility = ["//visibility:public"], |
| ) |