1*bcb5dc79SHONG Yifanworkspace(name = "bazel_skylib_gazelle_plugin") 2*bcb5dc79SHONG Yifan 3*bcb5dc79SHONG Yifanlocal_repository( 4*bcb5dc79SHONG Yifan name = "bazel_skylib", 5*bcb5dc79SHONG Yifan path = "..", 6*bcb5dc79SHONG Yifan) 7*bcb5dc79SHONG Yifan 8*bcb5dc79SHONG Yifanload("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") 9*bcb5dc79SHONG Yifan 10*bcb5dc79SHONG Yifanbazel_skylib_workspace() 11*bcb5dc79SHONG Yifan 12*bcb5dc79SHONG Yifanload(":workspace.bzl", "bazel_skylib_gazelle_plugin_workspace") 13*bcb5dc79SHONG Yifan 14*bcb5dc79SHONG Yifanbazel_skylib_gazelle_plugin_workspace() 15*bcb5dc79SHONG Yifan 16*bcb5dc79SHONG Yifanload(":setup.bzl", "bazel_skylib_gazelle_plugin_setup") 17*bcb5dc79SHONG Yifan 18*bcb5dc79SHONG Yifanbazel_skylib_gazelle_plugin_setup() 19*bcb5dc79SHONG Yifan 20*bcb5dc79SHONG Yifan# Provide a repository hint for Gazelle to inform it that the go package 21*bcb5dc79SHONG Yifan# github.com/bazelbuild/rules_go is available from io_bazel_rules_go and it 22*bcb5dc79SHONG Yifan# doesn't need to duplicatively fetch it. 23*bcb5dc79SHONG Yifan# gazelle:repository go_repository name=io_bazel_rules_go importpath=github.com/bazelbuild/rules_go 24*bcb5dc79SHONG Yifan# Another Gazelle repository hint. 25*bcb5dc79SHONG Yifan# gazelle:repository go_repository name=bazel_gazelle importpath=github.com/bazelbuild/bazel-gazelle/testtools 26