-
Notifications
You must be signed in to change notification settings - Fork 15
/
.bazelrc
27 lines (20 loc) · 1 KB
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Bazel configuration flags
# Enable helm linting. Note that workspaces loading `rules_helm` will need to
# use the fully qualified aspect path: `@rules_helm//helm:defs.bzl%helm_lint_aspect`
build:strict --aspects=//helm:defs.bzl%helm_lint_aspect
build:strict --output_groups=+helm_lint_checks
# Used for populating stamp data
build --enable_platform_specific_config
build:linux --workspace_status_command=tools/workspace_status.sh
build:macos --workspace_status_command=tools/workspace_status.sh
build:windows --workspace_status_command=tools/workspace_status.bat
# https://github.com/bazelbuild/bazel/issues/8195
build --incompatible_disallow_empty_glob=true
# https://github.com/bazelbuild/bazel/issues/12821
build --nolegacy_external_runfiles
# A configuration for disabling bzlmod.
common:no-bzlmod --noenable_bzlmod --enable_workspace
# Disable the bzlmod lockfile, so we don't accidentally commit MODULE.bazel.lock
common --lockfile_mode=off
# This flag should always go last
try-import %workspace%/user.bazelrc