Skip to content

Commit

Permalink
Fix minor style issues from buildifier. (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
eljobe authored Sep 17, 2024
1 parent a12424d commit 82f06a5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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")
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions deps.bzl
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 82f06a5

Please sign in to comment.