| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| |
| go_library( |
| name = "recurrent_lib", |
| srcs = ["main.go"], |
| importpath = "code.hackerspace.pl/hscloud/bgpwtf/invoice/recurrent", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "//bgpwtf/invoice/proto", |
| "//go/pki", |
| "@com_github_golang_glog//:glog", |
| "@com_github_golang_protobuf//proto:go_default_library", |
| "@org_golang_google_grpc//:go_default_library", |
| ], |
| ) |
| |
| go_binary( |
| name = "recurrent", |
| embed = [":recurrent_lib"], |
| visibility = ["//visibility:public"], |
| ) |