Skip to content

Commit

Permalink
Add suggested alias for bazelrc import location
Browse files Browse the repository at this point in the history
See bazelbuild/bazel#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.
  • Loading branch information
justinsb committed Oct 18, 2018
1 parent 0f5825f commit ebcf0f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .bazelrc
@@ -0,0 +1 @@
import %workspace%/tools/bazel.rc
3 changes: 3 additions & 0 deletions tools/bazel.rc
@@ -1 +1,4 @@
# TODO: This is the "legacy" location for bazel.rc
# See https://github.com/bazelbuild/bazel/issues/6319
# Once we expect everyone is running bazel >= 0.18
build --workspace_status_command=./tools/get_workspace_status.sh

0 comments on commit ebcf0f8

Please sign in to comment.