25 lines
636 B
Python
25 lines
636 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = ["doc.go"],
|
||
|
importpath = "zombiezen.com/go/capnproto2/internal/demo",
|
||
|
visibility = ["//:__subpackages__"],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = [
|
||
|
"book_test.go",
|
||
|
"hash_test.go",
|
||
|
],
|
||
|
embed = [":go_default_library"],
|
||
|
deps = [
|
||
|
"//:go_default_library",
|
||
|
"//internal/demo/books:go_default_library",
|
||
|
"//internal/demo/hashes:go_default_library",
|
||
|
"//rpc:go_default_library",
|
||
|
"@org_golang_x_net//context:go_default_library",
|
||
|
],
|
||
|
)
|