Reorder go workspace commands to prevent using rules_go version of protobuf

This commit is contained in:
Adam Liddell 2022-05-22 22:28:50 +01:00
parent 1d2daebf4c
commit b7b680d177
13 changed files with 120 additions and 120 deletions

View File

@ -48,6 +48,12 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -56,12 +62,6 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
@ -162,6 +162,12 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -170,12 +176,6 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
@ -274,6 +274,12 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -282,12 +288,6 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
@ -385,6 +385,12 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -393,12 +399,6 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
@ -499,6 +499,12 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -507,12 +513,6 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
@ -614,6 +614,12 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -622,12 +628,6 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()

View File

@ -40,6 +40,12 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -48,12 +54,6 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@grpc_ecosystem_grpc_gateway//:repositories.bzl", "go_repositories")
go_repositories()
@ -150,6 +150,12 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -158,12 +164,6 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@grpc_ecosystem_grpc_gateway//:repositories.bzl", "go_repositories")
go_repositories()
@ -258,6 +258,12 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -266,12 +272,6 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@grpc_ecosystem_grpc_gateway//:repositories.bzl", "go_repositories")
go_repositories()

View File

@ -19,6 +19,12 @@ load("@rules_proto_grpc//:repositories.bzl", "bazel_gazelle", "io_bazel_rules_go
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -27,12 +33,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()

View File

@ -19,6 +19,12 @@ load("@rules_proto_grpc//:repositories.bzl", "bazel_gazelle", "io_bazel_rules_go
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -27,12 +33,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()

View File

@ -19,6 +19,12 @@ load("@rules_proto_grpc//:repositories.bzl", "bazel_gazelle", "io_bazel_rules_go
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -27,12 +33,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()

View File

@ -19,6 +19,12 @@ load("@rules_proto_grpc//:repositories.bzl", "bazel_gazelle", "io_bazel_rules_go
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -27,12 +33,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()

View File

@ -19,6 +19,12 @@ load("@rules_proto_grpc//:repositories.bzl", "bazel_gazelle", "io_bazel_rules_go
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -27,12 +33,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()

View File

@ -19,6 +19,12 @@ load("@rules_proto_grpc//:repositories.bzl", "bazel_gazelle", "io_bazel_rules_go
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -27,12 +33,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//go:repositories.bzl", rules_proto_grpc_go_repos = "go_repos")
rules_proto_grpc_go_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()

View File

@ -19,6 +19,12 @@ load("@rules_proto_grpc//:repositories.bzl", "bazel_gazelle", "io_bazel_rules_go
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -27,12 +33,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@grpc_ecosystem_grpc_gateway//:repositories.bzl", "go_repositories")
go_repositories()

View File

@ -19,6 +19,12 @@ load("@rules_proto_grpc//:repositories.bzl", "bazel_gazelle", "io_bazel_rules_go
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -27,12 +33,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@grpc_ecosystem_grpc_gateway//:repositories.bzl", "go_repositories")
go_repositories()

View File

@ -19,6 +19,12 @@ load("@rules_proto_grpc//:repositories.bzl", "bazel_gazelle", "io_bazel_rules_go
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -27,12 +33,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//grpc-gateway:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@grpc_ecosystem_grpc_gateway//:repositories.bzl", "go_repositories")
go_repositories()

View File

@ -4,6 +4,12 @@ var goWorkspaceTemplate = mustTemplate(`load("@rules_proto_grpc//:repositories.b
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//{{ .Lang.Dir }}:repositories.bzl", rules_proto_grpc_{{ .Lang.Name }}_repos = "{{ .Lang.Name }}_repos")
rules_proto_grpc_{{ .Lang.Name }}_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -12,12 +18,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//{{ .Lang.Dir }}:repositories.bzl", rules_proto_grpc_{{ .Lang.Name }}_repos = "{{ .Lang.Name }}_repos")
rules_proto_grpc_{{ .Lang.Name }}_repos()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()`)

View File

@ -4,6 +4,12 @@ var grpcGatewayWorkspaceTemplate = mustTemplate(`load("@rules_proto_grpc//:repos
io_bazel_rules_go()
bazel_gazelle()
load("@rules_proto_grpc//{{ .Lang.Dir }}:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
@ -12,12 +18,6 @@ go_register_toolchains(
version = "1.17.1",
)
bazel_gazelle()
load("@rules_proto_grpc//{{ .Lang.Dir }}:repositories.bzl", rules_proto_grpc_gateway_repos = "gateway_repos")
rules_proto_grpc_gateway_repos()
load("@grpc_ecosystem_grpc_gateway//:repositories.bzl", "go_repositories")
go_repositories()