forked from bazel-contrib/rules_img
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bazelrc.common
More file actions
34 lines (27 loc) · 1.72 KB
/
Copy path.bazelrc.common
File metadata and controls
34 lines (27 loc) · 1.72 KB
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
33
34
# write lockfile in this repo.
# docs: https://bazel.build/reference/command-line-reference#flag--lockfile_mode
common --lockfile_mode=update
# normalize environment variables for hermeticity and reproducibility
# docs: https://bazel.build/reference/command-line-reference#flag--incompatible_strict_action_env
build --incompatible_strict_action_env
# prevent actions from accidentaly depending on the network
# 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--test_output
test --test_output=errors
# docs: https://bazel.build/reference/command-line-reference#flag--test_verbose_timeout_warnings
test --test_verbose_timeout_warnings
# make Bazel integration tests work on Windows
# docs: https://bazel.build/reference/command-line-reference#flag--enable_runfiles
common --enable_runfiles
# docs: https://bazel.build/reference/command-line-reference#startup_options-flag--windows_enable_symlinks
startup --windows_enable_symlinks
# ensure correct config_setting visibility
# docs: https://bazel.build/reference/command-line-reference#build-flag--incompatible_config_setting_private_default_visibility
build --incompatible_config_setting_private_default_visibility
# enable rule extension API (needed prior to Bazel 8)
# docs: https://bazel.build/versions/7.4.0/reference/command-line-reference#flag--experimental_rule_extension_api
build --experimental_rule_extension_api
# enable protobuf toolchain resolution
# docs: https://bazel.build/reference/command-line-reference#common_options-flag--incompatible_enable_proto_toolchain_resolution
common --incompatible_enable_proto_toolchain_resolution