| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| |
| go_library( |
| name = "go_default_library", |
| srcs = ["client.go"], |
| importpath = "code.hackerspace.pl/hscloud/games/factorio/modproxy/client", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "//games/factorio/modproxy/modportal:go_default_library", |
| "//games/factorio/modproxy/proto:go_default_library", |
| "//go/pki:go_default_library", |
| "@com_github_gogo_protobuf//proto:go_default_library", |
| "@com_github_golang_glog//:go_default_library", |
| "@org_golang_google_grpc//:go_default_library", |
| ], |
| ) |
| |
| go_binary( |
| name = "client", |
| embed = [":go_default_library"], |
| visibility = ["//visibility:public"], |
| ) |