bring back some things from the old repo
This commit is contained in:
20
WORKSPACE
20
WORKSPACE
@@ -2,7 +2,7 @@ workspace(
|
||||
name = "zig-cc-bazel",
|
||||
)
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
http_archive(
|
||||
name = "io_bazel_rules_go",
|
||||
@@ -30,7 +30,23 @@ go_rules_dependencies()
|
||||
|
||||
go_register_toolchains(version = "1.16")
|
||||
|
||||
gazelle_dependencies()
|
||||
gazelle_dependencies(go_repository_default_config = "@//:WORKSPACE")
|
||||
|
||||
http_archive(
|
||||
name = "com_google_protobuf",
|
||||
sha256 = "bf0e5070b4b99240183b29df78155eee335885e53a8af8683964579c214ad301",
|
||||
strip_prefix = "protobuf-3.14.0",
|
||||
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.14.0.zip"],
|
||||
)
|
||||
|
||||
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
|
||||
protobuf_deps()
|
||||
|
||||
http_archive(
|
||||
name = "com_github_bazelbuild_buildtools",
|
||||
strip_prefix = "buildtools-master",
|
||||
url = "https://github.com/bazelbuild/buildtools/archive/master.zip",
|
||||
)
|
||||
|
||||
load("//zig-toolchains:defs.bzl",
|
||||
zig_register_all_toolchains = "register_all_toolchains",
|
||||
|
||||
Reference in New Issue
Block a user