blob: 6e808dd181b12a536e7eca583d6c66150c1e81a3 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "pgpencryptor_lib",
srcs = ["main.go"],
importpath = "code.hackerspace.pl/hscloud/bgpwtf/cccampix/pgpencryptor",
visibility = ["//visibility:private"],
deps = [
"//bgpwtf/cccampix/pgpencryptor/gpg",
"//bgpwtf/cccampix/pgpencryptor/hkp",
"//bgpwtf/cccampix/pgpencryptor/model",
"//bgpwtf/cccampix/proto",
"//go/mirko",
"@com_github_golang_glog//:glog",
"@com_github_lib_pq//:pq",
"@org_golang_google_grpc//codes",
"@org_golang_google_grpc//status",
],
)
go_binary(
name = "pgpencryptor",
embed = [":pgpencryptor_lib"],
visibility = ["//visibility:public"],
)