intellij: use Bazel-built goimports
Test Plan: Tested the watcher, it fixed my code
X-Origin-Diff: phab/D663
GitOrigin-RevId: 0e06b3a4043e1671d8bb553312c8894d7c916933
diff --git a/BUILD b/BUILD
index af96778..123670e 100644
--- a/BUILD
+++ b/BUILD
@@ -78,6 +78,8 @@
toolchain_type = "@rules_python//python:toolchain_type",
)
+# Shortcuts for top-level binaries/tools
+
# Shortcut for kubectl when running through bazel run
# (don't depend on this, it might turn into an env-based PATH shortcut, use
# @io_k8s_kubernetes//cmd/kubectl instead)
@@ -103,3 +105,9 @@
name = "launch-multi2",
actual = "//core/cmd/launch-multi2",
)
+
+alias(
+ name = "goimports",
+ actual = "@org_golang_x_tools//cmd/goimports:goimports",
+ visibility = ["//visibility:public"],
+)