加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.bazelrc 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
try-import .bazelrc.local
# Set the default java toolchain
build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java11
# We target java 8 by default
build --javacopt="-source 8"
build --javacopt="-target 8"
# Require java dependencies to be used and first-order
build --strict_java_deps=strict
build --explicit_java_test_deps
build --workspace_status_command=scripts/build-info.py
# Make sure we get something helpful when tests fail
build --verbose_failures
build --test_output=errors
# Tests need to be able to open sockets on localhost
build --noexperimental_sandbox_default_allow_network
# Turn on the "Managed Directories" feature.
# This allows Bazel to share the same node_modules directory with other tools
# See https://docs.bazel.build/versions/master/command-line-reference.html#flag--experimental_allow_incremental_repository_updates
common --experimental_allow_incremental_repository_updates
# pass environment variables to the test environment
build --test_env=TRAVIS
build --test_env=DISPLAY
build --test_env=MOZ_HEADLESS
build --test_env=DASHBOARD_URL
build --test_env=LOCALAPPDATA
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化