diff options
Diffstat (limited to 'gazelle/BUILD')
-rw-r--r-- | gazelle/BUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gazelle/BUILD b/gazelle/BUILD new file mode 100644 index 0000000..d1c6daa --- /dev/null +++ b/gazelle/BUILD @@ -0,0 +1,37 @@ +load("@bazel_skylib//:bzl_library.bzl", "bzl_library") + +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"], +) |