1load("@bazel_gazelle//:def.bzl", "gazelle") 2 3# Gazelle configuration options. 4# See https://github.com/bazelbuild/bazel-gazelle#running-gazelle-with-bazel 5# gazelle:prefix github.com/bazelbuild/rules_python/gazelle 6# gazelle:exclude bazel-out 7gazelle(name = "gazelle") 8 9gazelle( 10 name = "gazelle_update_repos", 11 args = [ 12 "-from_file=go.mod", 13 "-to_macro=deps.bzl%gazelle_deps", 14 "-prune", 15 ], 16 command = "update-repos", 17) 18 19filegroup( 20 name = "distribution", 21 srcs = [ 22 ":BUILD.bazel", 23 ":README.md", 24 ":WORKSPACE", 25 ":def.bzl", 26 ":deps.bzl", 27 ":go.mod", 28 ":go.sum", 29 "//manifest:distribution", 30 "//modules_mapping:distribution", 31 "//python:distribution", 32 "//pythonconfig:distribution", 33 ], 34 visibility = ["@rules_python//:__pkg__"], 35) 36