github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/slash_names/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3 # TODO(#746) exclude because gazelle does not recognise the rule below 4 # gazelle:exclude a 5 # gazelle:exclude b 6 7 go_library( 8 name = "a/pkg", 9 srcs = ["a/pkg/pkg.go"], 10 importpath = "github.com/bazelbuild/rules_go/tests/slash_names/a/pkg", 11 ) 12 13 go_library( 14 name = "b/pkg", 15 srcs = ["b/pkg/pkg.go"], 16 importpath = "github.com/bazelbuild/rules_go/tests/slash_names/b/pkg", 17 ) 18 19 go_test( 20 name = "go_default_test", 21 size = "small", 22 srcs = ["slash_test.go"], 23 deps = [ 24 ":a/pkg", 25 ":b/pkg", 26 ], 27 )