aboutsummaryrefslogtreecommitdiff
path: root/gazelle/BUILD.bazel
blob: 601614551603bdb72d6735768698689df12c7c63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
load("@bazel_gazelle//:def.bzl", "gazelle")

# Gazelle configuration options.
# See https://github.com/bazelbuild/bazel-gazelle#running-gazelle-with-bazel
# gazelle:prefix github.com/bazelbuild/rules_python/gazelle
# gazelle:exclude bazel-out
gazelle(name = "gazelle")

gazelle(
    name = "gazelle_update_repos",
    args = [
        "-from_file=go.mod",
        "-to_macro=deps.bzl%gazelle_deps",
        "-prune",
    ],
    command = "update-repos",
)

filegroup(
    name = "distribution",
    srcs = [
        ":BUILD.bazel",
        ":README.md",
        ":WORKSPACE",
        ":def.bzl",
        ":deps.bzl",
        ":go.mod",
        ":go.sum",
        "//manifest:distribution",
        "//modules_mapping:distribution",
        "//python:distribution",
        "//pythonconfig:distribution",
    ],
    visibility = ["@rules_python//:__pkg__"],
)