Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 2 | |
| 3 | go_library( |
| 4 | name = "go_default_library", |
| 5 | srcs = [ |
| 6 | "client.go", |
| 7 | "main.go", |
| 8 | ], |
Sergiusz Bazanski | 61594bb | 2019-07-21 15:20:51 +0200 | [diff] [blame] | 9 | importpath = "code.hackerspace.pl/hscloud/dc/cmc-proxy", |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 10 | visibility = ["//visibility:private"], |
| 11 | deps = [ |
Sergiusz Bazanski | 61594bb | 2019-07-21 15:20:51 +0200 | [diff] [blame] | 12 | "//dc/cmc-proxy/proto:go_default_library", |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 13 | "//go/mirko:go_default_library", |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 14 | "@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 | |
| 21 | go_binary( |
| 22 | name = "cmc-proxy", |
| 23 | embed = [":go_default_library"], |
| 24 | visibility = ["//visibility:public"], |
| 25 | ) |