Skip to content

Commit

Permalink
chore: fixup pattern for try-import of user.bazelrc (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Jun 7, 2024
1 parent 9a00bf0 commit a29eb05
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ import %workspace%/.aspect/bazelrc/performance.bazelrc
# https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0
common --check_direct_dependencies=off

# Load any settings specific to the current user.
# .bazelrc.user should appear in .gitignore so that settings are not shared with team members
# This needs to be last statement in this
# config, as the user configuration should be able to overwrite flags from this file.
# See https://docs.bazel.build/versions/master/best-practices.html#bazelrc
# (Note that we use .bazelrc.user so the file appears next to .bazelrc in directory listing,
# rather than user.bazelrc as suggested in the Bazel docs)
try-import %workspace%/.bazelrc.user
# Load any settings & overrides specific to the current user from `.aspect/bazelrc/user.bazelrc`.
# This file should appear in `.gitignore` so that settings are not shared with team members. This
# should be last statement in this config so the user configuration is able to overwrite flags from
# this file. See https://bazel.build/configure/best-practices#bazelrc-file.
try-import %workspace%/.aspect/bazelrc/user.bazelrc

0 comments on commit a29eb05

Please sign in to comment.