github.com/lestrrat-go/jwx/v2@v2.0.21/BUILD (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 load("@bazel_gazelle//:def.bzl", "gazelle") 3 4 # gazelle:prefix github.com/lestrrat-go/jwx/v2 5 # gazelle:go_naming_convention import_alias 6 7 gazelle(name = "gazelle") 8 9 gazelle( 10 name = "gazelle-update-repos", 11 args = [ 12 "-from_file=go.mod", 13 "-to_macro=deps.bzl%go_dependencies", 14 "-prune", 15 "-build_file_proto_mode=disable_global", 16 ], 17 command = "update-repos", 18 ) 19 20 go_library( 21 name = "jwx", 22 srcs = [ 23 "format.go", 24 "formatkind_string_gen.go", 25 "jwx.go", 26 "options.go", 27 ], 28 importpath = "github.com/lestrrat-go/jwx/v2", 29 visibility = ["//visibility:public"], 30 deps = [ 31 "//internal/json", 32 "@com_github_lestrrat_go_option//:option", 33 ], 34 ) 35 36 go_test( 37 name = "jwx_test", 38 srcs = ["jwx_test.go"], 39 deps = [ 40 ":jwx", 41 "//internal/ecutil", 42 "//internal/jose", 43 "//internal/json", 44 "//internal/jwxtest", 45 "//jwa", 46 "//jwe", 47 "//jwk", 48 "//jws", 49 "@com_github_stretchr_testify//assert", 50 "@com_github_stretchr_testify//require", 51 ], 52 ) 53 54 alias( 55 name = "go_default_library", 56 actual = ":jwx", 57 visibility = ["//visibility:public"], 58 )