-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bazelrc.common
32 lines (26 loc) · 1.71 KB
/
.bazelrc.common
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# docs: https://bazel.build/reference/command-line-reference#flag--enable_bzlmod
common --enable_bzlmod
# The lockfile can cause issues when switching between Bazel versions.
# docs: https://bazel.build/reference/command-line-reference#flag--lockfile_mode
common --lockfile_mode=off
# docs: https://bazel.build/reference/command-line-reference#flag--incompatible_disallow_empty_glob
common --incompatible_disallow_empty_glob
# docs: https://bazel.build/reference/command-line-reference#flag--remote_upload_local_results
build --noremote_upload_local_results
# docs: https://bazel.build/reference/command-line-reference#flag--incompatible_remote_results_ignore_disk
build --incompatible_remote_results_ignore_disk
# docs: https://bazel.build/reference/command-line-reference#flag--incompatible_strict_action_env
build --incompatible_strict_action_env
# docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
build --sandbox_default_allow_network=false
# docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
build --nolegacy_external_runfiles
# Bazel 7 enables this by default. However, it causes failures with rules_bazel_integration_test.
# docs: https://bazel.build/reference/command-line-reference#flag--incompatible_sandbox_hermetic_tmp
build --noincompatible_sandbox_hermetic_tmp
# docs: https://bazel.build/reference/command-line-reference#flag--test_output
test --test_output=errors
# docs: https://bazel.build/reference/command-line-reference#flag--test_verbose_timeout_warnings
test --test_verbose_timeout_warnings
# docs: https://bazel.build/reference/command-line-reference#flag--incompatible_exclusive_test_sandboxed
test --incompatible_exclusive_test_sandboxed