From dea3cb92f2c9fffb604cedde6998b3209c91e716 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Tue, 9 Jul 2019 16:42:54 -0700 Subject: build: add nogo for static validation PiperOrigin-RevId: 257297820 --- WORKSPACE | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'WORKSPACE') diff --git a/WORKSPACE b/WORKSPACE index b76442d9e..26243b7f2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -20,7 +20,10 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_to go_rules_dependencies() -go_register_toolchains(go_version = "1.12.6") +go_register_toolchains( + go_version = "1.12.6", + nogo = "@//:nogo", +) load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository") @@ -141,6 +144,12 @@ go_repository( importpath = "golang.org/x/sys", ) +go_repository( + name = "org_golang_x_tools", + commit = "aa82965741a9fecd12b026fbb3d3c6ed3231b8f8", + importpath = "golang.org/x/tools", +) + go_repository( name = "com_github_google_btree", importpath = "github.com/google/btree", -- cgit v1.2.3