blob: b2f68caec78193af51a764a64b5974f92614f874 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "go_default_library",
srcs = [
"client.go",
"main.go",
],
importpath = "code.hackerspace.pl/hscloud/dc/cmc-proxy",
visibility = ["//visibility:private"],
deps = [
"//dc/cmc-proxy/proto:go_default_library",
"//go/mirko:go_default_library",
"@com_github_cenkalti_backoff//:go_default_library",
"@com_github_golang_glog//:go_default_library",
"@org_golang_google_grpc//codes:go_default_library",
"@org_golang_google_grpc//status:go_default_library",
],
)
go_binary(
name = "cmc-proxy",
embed = [":go_default_library"],
visibility = ["//visibility:public"],
)