summaryrefslogtreecommitdiffstats
path: root/.bazelrc
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2018-08-01 21:47:40 +0200
committerDavid Pursehouse <dpursehouse@collab.net>2018-08-10 15:55:52 +0100
commit50257617c46669910c8059c6b43f60a498af3efe (patch)
treedcc1e6757108a6121b75ff275331ed44e3c9705c /.bazelrc
parent4299ccc65df9c0e6133abae893db41056677ae09 (diff)
Migrate `tools/bazel.rc` to `.bazelrc`
Since: [1] Bazel changed the list of resource file locations. Adapt to that list and move `%workspace%/tools/bazelrc` to `%workspace%/.bazelrc`. See: [2], [3] for more details. [1] https://github.com/bazelbuild/bazel/commit/ec83598 [2] https://github.com/bazelbuild/bazel/issues/4502 [3] https://github.com/bazelbuild/bazel/issues/5756 Change-Id: Ia13c71bcff7036e2f5541618b28713d9b0d77040
Diffstat (limited to '.bazelrc')
-rw-r--r--.bazelrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc
new file mode 100644
index 0000000000..7230cf3f75
--- /dev/null
+++ b/.bazelrc
@@ -0,0 +1,6 @@
+build --workspace_status_command=./tools/workspace-status.sh --strategy=Closure=worker
+build --disk_cache=~/.gerritcodereview/bazel-cache/cas
+build --repository_cache=~/.gerritcodereview/bazel-cache/repository
+build --experimental_strict_action_env
+build --action_env=PATH
+test --build_tests_only