| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| |
| go_library( |
| name = "go_default_library", |
| srcs = [ |
| "main.go", |
| "service.go", |
| ], |
| importpath = "code.hackerspace.pl/hscloud/devtools/ci/remote-cache", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "//go/mirko:go_default_library", |
| "@com_github_golang_glog//:go_default_library", |
| "@com_github_minio_minio_go_v7//:go_default_library", |
| "@com_github_minio_minio_go_v7//pkg/credentials:go_default_library", |
| ], |
| ) |
| |
| go_binary( |
| name = "remote-cache", |
| embed = [":go_default_library"], |
| visibility = ["//visibility:public"], |
| ) |