Adding MODULE.bazel
This commit is contained in:
parent
92067b5d85
commit
fa7a3d8e9f
|
@ -0,0 +1,19 @@
|
|||
module(
|
||||
name = "bazel-zig-cc",
|
||||
version = "1.0.1",
|
||||
)
|
||||
|
||||
bazel_dep(name = "protobuf", version = "3.19.0", repo_name = "com_google_protobuf")
|
||||
bazel_dep(name = "rules_go", version = "0.38.1")
|
||||
|
||||
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
|
||||
use_repo(go_sdk, "go_default_sdk")
|
||||
|
||||
bazel_dep(name = "gazelle", version = "0.29.0")
|
||||
|
||||
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
|
||||
go_deps.from_file(go_mod = "//:go.mod")
|
||||
use_repo(
|
||||
go_deps,
|
||||
"com_github_bazelbuild_buildtools",
|
||||
)
|
Loading…
Reference in New Issue