Skip to content

Commit

Permalink
Update rules_go calls to match Envoy WORKSPACE
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Diamond <[email protected]>
  • Loading branch information
isaacd9 committed Mar 12, 2019
1 parent 4fb59e0 commit 2ca9f3e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local_repository(
path = "envoy",
)

load("@envoy//bazel:repositories.bzl", "envoy_dependencies")
load("@envoy//bazel:repositories.bzl", "envoy_dependencies", "GO_VERSION")
load("@envoy//bazel:cc_configure.bzl", "cc_configure")

envoy_dependencies()
Expand All @@ -19,8 +19,7 @@ cc_configure()
load("@envoy_api//bazel:repositories.bzl", "api_dependencies")
api_dependencies()

load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()
go_register_toolchains()
load("@io_bazel_rules_go//proto:def.bzl", "proto_register_toolchains")
proto_register_toolchains()
go_register_toolchains(go_version = GO_VERSION)

0 comments on commit 2ca9f3e

Please sign in to comment.