2023-05-04 21:00:30 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "certdump_lib",
|
|
|
|
srcs = [
|
|
|
|
"certdump.go",
|
|
|
|
"util.go",
|
|
|
|
],
|
|
|
|
importpath = "git.wntrmute.dev/kyle/goutils/cmd/certdump",
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
deps = [
|
2023-05-06 20:18:22 +00:00
|
|
|
"//certlib",
|
|
|
|
"//lib",
|
2023-05-04 21:00:30 +00:00
|
|
|
"@com_github_kr_text//:text",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "certdump",
|
|
|
|
embed = [":certdump_lib"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|