diff options
Diffstat (limited to 'pkg/refsvfs2/BUILD')
-rw-r--r-- | pkg/refsvfs2/BUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkg/refsvfs2/BUILD b/pkg/refsvfs2/BUILD new file mode 100644 index 000000000..245e33d2d --- /dev/null +++ b/pkg/refsvfs2/BUILD @@ -0,0 +1,34 @@ +load("//tools:defs.bzl", "go_library") +load("//tools/go_generics:defs.bzl", "go_template") + +package(licenses = ["notice"]) + +go_template( + name = "refs_template", + srcs = [ + "refs_template.go", + ], + types = [ + "T", + ], + visibility = ["//:sandbox"], + deps = [ + "//pkg/log", + "//pkg/refs", + ], +) + +go_library( + name = "refsvfs2", + srcs = [ + "refs.go", + "refs_map.go", + ], + visibility = ["//:sandbox"], + deps = [ + "//pkg/context", + "//pkg/log", + "//pkg/refs", + "//pkg/sync", + ], +) |