Skip to content

Commit

Permalink
Reinstate erroneously removed rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Helcaraxan committed Aug 14, 2020
1 parent 743ade3 commit 32a686a
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,38 @@ go_proto_compiler(
)

go_proto_library(
name = "validators_gogo",
name = "_validators_gogo",
compilers = [
"@io_bazel_rules_go//proto:gogo_proto",
],
importpath = "github.com/mwitkow/go-proto-validators",
proto = ":validator_proto",
visibility = ["//visibility:public"],
visibility = ["//:__pkg__"],
)

go_proto_library(
name = "validators_golang",
name = "_validators_golang",
compilers = [
"@io_bazel_rules_go//proto:go_proto",
],
importpath = "github.com/mwitkow/go-proto-validators",
proto = ":validator_proto",
visibility = ["//:__pkg__"],
)

go_library(
name = "validators_gogo",
srcs = ["helper.go"],
embed = [":_validators_gogo"],
importpath = "github.com/mwitkow/go-proto-validators",
visibility = ["//visibility:public"],
)

go_library(
name = "validators_golang",
srcs = ["helper.go"],
embed = [":_validators_golang"],
importpath = "github.com/mwitkow/go-proto-validators",
visibility = ["//visibility:public"],
)

Expand Down

0 comments on commit 32a686a

Please sign in to comment.