Skip to content

Commit

Permalink
POC: use local Go toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
prattmic committed Dec 21, 2020
1 parent 9a72730 commit 0ab5b8a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,16 @@ http_archive(
],
)

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

go_rules_dependencies()

go_register_toolchains(go_version = "1.15.2")
go_local_sdk(
name = "go_sdk",
path = "/usr/local/google/home/mpratt/src/go",
)

go_register_toolchains()

load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")

Expand Down

0 comments on commit 0ab5b8a

Please sign in to comment.