diff --git a/BUILD.bazel b/BUILD.bazel index 0a0711931..d7ffd2141 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,5 +1,6 @@ # gazelle:ignore load("@bazel_gazelle//:def.bzl", "gazelle") +load("@io_bazel_rules_go//go:def.bzl", "TOOLS_NOGO", "nogo") # gazelle:prefix github.com/OffchainLabs/bold gazelle(name = "gazelle") @@ -14,8 +15,6 @@ gazelle( command = "update-repos", ) -load("@io_bazel_rules_go//go:def.bzl", "TOOLS_NOGO", "go_binary", "go_library", "nogo") - nogo( name = "nogo", config = ":nogo.json", diff --git a/WORKSPACE b/WORKSPACE index 4e1570f14..ada6a36a9 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -27,8 +27,8 @@ http_archive( ], ) -load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") +load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") load("//:deps.bzl", "go_dependencies") # gazelle:repository_macro deps.bzl%go_dependencies diff --git a/deps.bzl b/deps.bzl index 705ba2228..aa4224beb 100644 --- a/deps.bzl +++ b/deps.bzl @@ -1,6 +1,11 @@ +""" +Auto-gneerated deps file managed by gazelle. +""" + load("@bazel_gazelle//:deps.bzl", "go_repository") def go_dependencies(): + "Auto-generated dependencies function." go_repository( name = "co_honnef_go_tools", importpath = "honnef.co/go/tools",