Skip to content

Commit c58b3a1

Browse files
committed
chore: remove Go
We don't have any Go sources in rules_lint so there's no reason we should install a Go toolchain or worry about upgrading it. 'aspect configure' provides the auto-generation for bzl_library targets so we don't need Gazelle either.
1 parent d3b8dcf commit c58b3a1

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

BUILD.bazel

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +0,0 @@
1-
load("@gazelle//:def.bzl", "gazelle", "gazelle_binary")
2-
3-
gazelle_binary(
4-
name = "gazelle_bin",
5-
languages = ["@bazel_skylib_gazelle_plugin//bzl"],
6-
)
7-
8-
gazelle(
9-
name = "gazelle",
10-
gazelle = "gazelle_bin",
11-
)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Otherwise later tooling on CI may yell at you about formatting/linting violation
1717

1818
Some targets are generated from sources.
1919
Currently this is just the `bzl_library` targets.
20-
Run `bazel run //:gazelle` to keep them up-to-date.
20+
Run `aspect configure` to keep them up-to-date.
2121

2222
## Using this as a development dependency of other rules
2323

MODULE.bazel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ bazel_dep(name = "rules_buf", version = "0.1.1")
2323

2424
# Needed due to rules_proto leaking the dependency
2525
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
26-
bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go")
2726

28-
bazel_dep(name = "gazelle", version = "0.31.0", dev_dependency = True)
29-
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
27+
# Needed to get the 'go_context' symbol, to invoke golangci-lint
28+
bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go")

0 commit comments

Comments
 (0)