bazel: running gazelle to pick up dependency changes

This commit is contained in:
2023-05-06 13:37:58 -07:00
parent 984baa6bb4
commit 83d42dc489
7 changed files with 35 additions and 71 deletions

View File

@@ -6,14 +6,13 @@ go_library(
"certlib.go",
"der_helpers.go",
"ed25519.go",
"errors.go",
"helpers.go",
],
importpath = "git.wntrmute.dev/kyle/goutils/certlib",
visibility = ["//visibility:public"],
deps = [
"@com_github_cloudflare_cfssl//crypto/pkcs7",
"@com_github_cloudflare_cfssl//helpers/derhelpers",
"//certlib/certerr",
"//certlib/pkcs7",
"@com_github_google_certificate_transparency_go//:certificate-transparency-go",
"@com_github_google_certificate_transparency_go//tls",
"@com_github_google_certificate_transparency_go//x509",
@@ -24,8 +23,8 @@ go_library(
go_test(
name = "certlib_test",
size = "small",
srcs = ["certlib_test.go"],
embed = [":certlib"],
deps = ["//assert"],
size = "small",
)

View File

@@ -0,0 +1,8 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "certerr",
srcs = ["errors.go"],
importpath = "git.wntrmute.dev/kyle/goutils/certlib/certerr",
visibility = ["//visibility:public"],
)

View File

@@ -0,0 +1,9 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "pkcs7",
srcs = ["pkcs7.go"],
importpath = "git.wntrmute.dev/kyle/goutils/certlib/pkcs7",
visibility = ["//visibility:public"],
deps = ["//certlib/certerr"],
)

View File

@@ -1,4 +1,4 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "revoke",
@@ -7,7 +7,13 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//certlib",
"@com_github_cloudflare_cfssl//log",
"//log",
"@org_golang_x_crypto//ocsp",
],
)
go_test(
name = "revoke_test",
srcs = ["revoke_test.go"],
embed = [":revoke"],
)