1
Fork 0
hermetic_cc_toolchain/MODULE.bazel

27 lines
561 B
Plaintext
Raw Permalink Normal View History

2023-03-21 05:53:41 +02:00
module(
name = "hermetic_cc_toolchain",
2023-03-21 05:53:41 +02:00
version = "1.0.1",
)
2023-03-22 05:58:27 +02:00
bazel_dep(name = "rules_go", version = "0.38.1", dev_dependency = True)
2023-03-21 05:53:41 +02:00
2023-03-22 05:58:27 +02:00
go_sdk = use_extension(
"@rules_go//go:extensions.bzl",
"go_sdk",
dev_dependency = True,
)
2023-03-21 05:53:41 +02:00
use_repo(go_sdk, "go_default_sdk")
2023-03-22 05:58:27 +02:00
bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True)
2023-03-21 05:53:41 +02:00
2023-03-22 05:58:27 +02:00
go_deps = use_extension(
"@gazelle//:extensions.bzl",
"go_deps",
dev_dependency = True,
)
2023-03-21 05:53:41 +02:00
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_bazelbuild_buildtools",
)