blob: b2f68caec78193af51a764a64b5974f92614f874 [file] [log] [blame]
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +02001load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +02002
3go_library(
4 name = "go_default_library",
5 srcs = [
6 "client.go",
7 "main.go",
8 ],
Sergiusz Bazanski61594bb2019-07-21 15:20:51 +02009 importpath = "code.hackerspace.pl/hscloud/dc/cmc-proxy",
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020010 visibility = ["//visibility:private"],
11 deps = [
Sergiusz Bazanski61594bb2019-07-21 15:20:51 +020012 "//dc/cmc-proxy/proto:go_default_library",
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020013 "//go/mirko:go_default_library",
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020014 "@com_github_cenkalti_backoff//:go_default_library",
15 "@com_github_golang_glog//:go_default_library",
16 "@org_golang_google_grpc//codes:go_default_library",
17 "@org_golang_google_grpc//status:go_default_library",
18 ],
19)
20
21go_binary(
22 name = "cmc-proxy",
23 embed = [":go_default_library"],
24 visibility = ["//visibility:public"],
25)