blob: 9acae47b8ad7791b7573d658ae619eebf2e3378a [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "arista-proxy_lib",
srcs = [
"main.go",
"service.go",
],
importpath = "code.hackerspace.pl/hscloud/dc/arista-proxy",
visibility = ["//visibility:private"],
deps = [
"//dc/arista-proxy/proto",
"//go/mirko",
"@com_github_golang_glog//:glog",
"@com_github_q3k_cursedjsonrpc//:cursedjsonrpc",
"@org_golang_google_grpc//codes",
"@org_golang_google_grpc//status",
],
)
go_binary(
name = "arista-proxy",
embed = [":arista-proxy_lib"],
visibility = ["//visibility:public"],
)