...

Text file src/github.com/bazelbuild/bazel-gazelle/language/go/testdata/gen_and_exclude/BUILD.want

Documentation: github.com/bazelbuild/bazel-gazelle/language/go/testdata/gen_and_exclude

     1load("@io_bazel_rules_go//go:def.bzl", "go_library")
     2
     3go_library(
     4    name = "gen_and_exclude",
     5    srcs = [
     6        "gen.go",
     7        "gen_linux.go",
     8        "gen_static_darwin.go",
     9        "static.go",
    10    ],
    11    _gazelle_imports = select({
    12        "@io_bazel_rules_go//go/platform:darwin": [
    13            "github.com/jr_hacker/darwin",
    14        ],
    15        "@io_bazel_rules_go//go/platform:ios": [
    16            "github.com/jr_hacker/darwin",
    17        ],
    18        "//conditions:default": [],
    19    }),
    20    importpath = "example.com/repo/gen_and_exclude",
    21    visibility = ["//visibility:public"],
    22)

View as plain text