bring back some things from the old repo
This commit is contained in:
parent
d98e471f83
commit
61c98f3464
12
.bazelrc
12
.bazelrc
@ -1,15 +1,7 @@
|
|||||||
build --symlink_prefix=dist/
|
build --verbose_failures
|
||||||
|
test --sandbox_default_allow_network=false
|
||||||
test --test_output=errors
|
test --test_output=errors
|
||||||
test:debug --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results --define=VERBOSE_LOGS=1
|
|
||||||
run:debug --define=VERBOSE_LOGS=1 -- --node_options=--inspect-brk
|
|
||||||
build:debug --compilation_mode=dbg
|
|
||||||
build --nolegacy_external_runfiles
|
|
||||||
build --incompatible_strict_action_env
|
|
||||||
run --incompatible_strict_action_env
|
|
||||||
try-import %workspace%/.bazelrc.user
|
|
||||||
build --worker_sandboxing
|
build --worker_sandboxing
|
||||||
build --incompatible_enable_cc_toolchain_resolution
|
build --incompatible_enable_cc_toolchain_resolution
|
||||||
build --incompatible_use_cc_configure_from_rules_cc
|
build --incompatible_use_cc_configure_from_rules_cc
|
||||||
build --incompatible_use_platforms_repo_for_constraints
|
build --incompatible_use_platforms_repo_for_constraints
|
||||||
|
|
||||||
build --javabase=@bazel_tools//tools/jdk:remote_jdk11
|
|
||||||
|
9
.gitignore
vendored
9
.gitignore
vendored
@ -1,2 +1,7 @@
|
|||||||
bazel-out
|
*~
|
||||||
dist
|
*.sw[op]
|
||||||
|
|
||||||
|
/bazel-bin
|
||||||
|
/bazel-bazel-zig-cc
|
||||||
|
/bazel-out
|
||||||
|
/bazel-testlogs
|
||||||
|
20
WORKSPACE
20
WORKSPACE
@ -2,7 +2,7 @@ workspace(
|
|||||||
name = "zig-cc-bazel",
|
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(
|
http_archive(
|
||||||
name = "io_bazel_rules_go",
|
name = "io_bazel_rules_go",
|
||||||
@ -30,7 +30,23 @@ go_rules_dependencies()
|
|||||||
|
|
||||||
go_register_toolchains(version = "1.16")
|
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",
|
load("//zig-toolchains:defs.bzl",
|
||||||
zig_register_all_toolchains = "register_all_toolchains",
|
zig_register_all_toolchains = "register_all_toolchains",
|
||||||
|
Loading…
Reference in New Issue
Block a user