| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| |
| go_library( |
| name = "go_default_library", |
| srcs = [ |
| "cli.go", |
| "main.go", |
| ], |
| importpath = "code.hackerspace.pl/hscloud/dc/m6220-proxy", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "//dc/m6220-proxy/proto:go_default_library", |
| "//dc/proto:go_default_library", |
| "//go/mirko:go_default_library", |
| "@com_github_golang_glog//:go_default_library", |
| "@com_github_ziutek_telnet//:go_default_library", |
| "@org_golang_google_grpc//codes:go_default_library", |
| "@org_golang_google_grpc//status:go_default_library", |
| "@org_golang_x_net//trace:go_default_library", |
| ], |
| ) |
| |
| go_binary( |
| name = "m6220-proxy", |
| embed = [":go_default_library"], |
| visibility = ["//visibility:public"], |
| ) |