| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| |
| go_library( |
| name = "go_default_library", |
| srcs = [ |
| "main.go", |
| "statusz.go", |
| ], |
| importpath = "code.hackerspace.pl/hscloud/hswaw/leasifier", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "//go/mirko:go_default_library", |
| "//go/statusz:go_default_library", |
| "//hswaw/proto:go_default_library", |
| "@com_github_golang_glog//:go_default_library", |
| ], |
| ) |
| |
| go_binary( |
| name = "leasifier", |
| embed = [":go_default_library"], |
| visibility = ["//visibility:public"], |
| ) |