aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/go/BUILD
blob: 3ade6b5321160d4174831437e860df6003485a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# See README.md for instructions on how to use these rules.

package(default_visibility = ["//visibility:public"])

load("/tools/build_rules/go_rules", "go_library", "go_binary")

go_binary(
    name = "fib",
    srcs = glob(
        ["*.go"],
        exclude = ["*_test.go"],
    ),
    deps = ["//examples/go/lib1"],
)

filegroup(
    name = "srcs",
    srcs = [
        "BUILD",
        "//examples/go/lib1:srcs",
    ] + glob(["**/*.go"]),
)