commit | 96d18ce5b4fc16717d0f55e3817dbe2c81316e3f | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Tue Dec 19 01:14:59 2023 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Tue Dec 19 01:23:03 2023 +0100 |
tree | bd200aa831d1f51073d5742ac264485f3a597a81 | |
parent | 18ef264bfe56fae5e0207944b31b64eba0e66c16 [diff] [blame] |
Bazel: Allow user-specific `user.bazelrc` in workspace root As described in: [1] it's considered to be a best practice allowing a user-specific `user.bazelrc` in a workspace. See also: [2] for more details. [1] https://docs.bazel.build/versions/master/best-practices.html [2] https://bazel.build/run/bazelrc#imports Release-Notes: Support Bazel user configuration file in gerrit tree Change-Id: Ia20a75259758c0924f4c04b08b888ec207d3ff68
diff --git a/.bazelrc b/.bazelrc index fe7d6dc..a5603ca 100644 --- a/.bazelrc +++ b/.bazelrc
@@ -50,3 +50,6 @@ test --test_output=errors import %workspace%/tools/remote-bazelrc + +# User-specific .bazelrc +try-import %workspace%/user.bazelrc