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