forked from hswaw/hscloud
32 lines
974 B
Python
32 lines
974 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "service",
|
|
srcs = [
|
|
"gerrit.go",
|
|
"service.go",
|
|
],
|
|
importpath = "code.hackerspace.pl/hscloud/devtools/depotview/service",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//devtools/depotview/proto",
|
|
"@com_github_go_git_go_git_v5//:go-git",
|
|
"@com_github_go_git_go_git_v5//config",
|
|
"@com_github_go_git_go_git_v5//plumbing",
|
|
"@com_github_go_git_go_git_v5//plumbing/filemode",
|
|
"@com_github_go_git_go_git_v5//plumbing/object",
|
|
"@com_github_go_git_go_git_v5//storage",
|
|
"@com_github_go_git_go_git_v5//storage/memory",
|
|
"@com_github_golang_glog//:glog",
|
|
"@org_golang_google_grpc//codes",
|
|
"@org_golang_google_grpc//status",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "service_test",
|
|
srcs = ["service_test.go"],
|
|
embed = [":service"],
|
|
deps = ["//devtools/depotview/proto"],
|
|
)
|