Re-enable the gazelle linter
I don't understand exactly what's going on with the Go package
mirroring. For some reason gazelle doesn't want to mirror the
flatbuffers package. Possibly because we already have it defined in
our workspace. Not sure. There's some magic somewhere that I don't
have insight into. Regardless, we should explicitly point gazelle at
our vendored version of flatbuffers. That's what this patch
accomplishes.
I think this was caused by
https://github.com/google/flatbuffers/pull/7756 or
https://github.com/google/flatbuffers/pull/7720, but I'm not sure. At
least the timing matches.
This patch effectively reverts
Ibd850b77987625d359a38bf53d7db4ae9bc77dc2.
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I489d2150811bd00ab810a3038bbac2d0dc74ff6d
diff --git a/BUILD b/BUILD
index 331c4b6..a568e20 100644
--- a/BUILD
+++ b/BUILD
@@ -11,6 +11,7 @@
# gazelle:go_generate_proto false
# gazelle:exclude third_party
# gazelle:exclude external
+# gazelle:resolve go github.com/google/flatbuffers/go @com_github_google_flatbuffers//go:go_default_library
# gazelle:resolve go github.com/phst/runfiles @com_github_phst_runfiles//:go_default_library
# gazelle:resolve go github.com/frc971/971-Robot-Code/build_tests/fbs //build_tests:test_go_fbs
# gazelle:resolve go github.com/frc971/971-Robot-Code/scouting/webserver/requests/messages/error_response //scouting/webserver/requests/messages:error_response_go_fbs