Skip to content

Commit e4c7dff

Browse files
authored
Load user settings in bazel (#55)
`user.bazelrc` is already part of `.gitignore` but not used yet by bazel. Thus it is added as an optional bazel import.
1 parent fef9cda commit e4c7dff

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ test --test_output=errors
2020

2121
common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/
2222
common --registry=https://bcr.bazel.build
23+
24+
# Import custom user settings
25+
# Can be used to enable e.g. sanitizers or other features without modifying the main .bazelrc
26+
try-import %workspace%/user.bazelrc

0 commit comments

Comments
 (0)