blob: 056a3714587b17ae9b85cf5588070475d5a56927 [file] [log] [blame]
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"],
)