Using Bzlmod
Paste this snippet into your MODULE.bazel file:
bazel_dep(name = "gazelle_cc", version = "0.5.0")Using WORKSPACE
Paste this snippet into your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "gazelle_cc",
sha256 = "d7521e7f51a77e833d4ae111da7da726037b23640d7550c3e2f6d4a0d7e1bfb3",
strip_prefix = "gazelle_cc-0.5.0",
url = "https://github.com/EngFlow/gazelle_cc/releases/download/v0.5.0/gazelle_cc-v0.5.0.tar.gz",
)
load("@gazelle_cc//:deps.bzl", "gazelle_cc_dependencies")
gazelle_cc_dependencies()See https://github.com/EngFlow/gazelle_cc#installation for full setup instructions.