Add suggested alias for bazelrc import location

See https://github.com/bazelbuild/bazel/issues/6319

The default bazelrc location is changing.  So that we don't break
during the transition, we set up an alias so that bazel versions that
load from the new location are redirected to the old location.

Also add a TODO to move to the new location once bazel 0.18 is
prevalent.
This commit is contained in:
Justin SB 2018-10-18 08:48:17 -07:00
parent 0f5825f096
commit 807780102b
No known key found for this signature in database
GPG Key ID: 8DEC5C8217494E37
2 changed files with 6 additions and 0 deletions

1
.bazelrc Normal file
View File

@ -0,0 +1 @@
import %workspace%/tools/bazel.rc

View File

@ -1 +1,6 @@
# TODO: Remove once we expect everyone is running bazel >= 0.18
# (This is the "legacy" location for bazel.rc)
# (See https://github.com/bazelbuild/bazel/issues/6319)
build --workspace_status_command=./tools/get_workspace_status.sh