-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.bazelrc
14 lines (13 loc) · 915 Bytes
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# The bazel action cache should be reused by every tool that invokes bazel.
# Different tools invoke bazel with different PATHs, notably git, which prepends git --exec-path
# to the PATH when running a hook script. Instead of ensuring that all the PATHs in all the invoking
# tools are identical, use --incompatible_strict_action_env to tell bazel not to inherit PATHs from
# clients.
# This flag used to be on by default, but was turned off in bazel 0.23 due to issues I don't care
# about. See https://github.com/bazelbuild/bazel/issues/7026.
build --incompatible_strict_action_env
# Write a few variables to bazel-out/stable-status.txt for automatic embedding in the banner.
# See //ui:banner_stamped for discussion.
# For the somewhat nonintuitive format of the command itself, see
# https://github.com/bazelbuild/bazel/issues/5002#issuecomment-468306983.
build --workspace_status_command ". scripts/stamp.sh"