-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bazelrc
More file actions
26 lines (21 loc) · 1.03 KB
/
Copy path.bazelrc
File metadata and controls
26 lines (21 loc) · 1.03 KB
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
# Bzlmod is the only dependency-resolution path (pure Bazel, no legacy WORKSPACE).
common --enable_bzlmod
common --noenable_workspace
build --incompatible_enable_proto_toolchain_resolution
# Quieter, more useful output.
build --show_timestamps
test --test_output=errors
test --test_summary=terse
# Keep building independent targets after a failure so we see the full picture.
build --keep_going
test --keep_going
# Local cache so repeated builds are fast.
build --disk_cache=~/.cache/bazel-disk/pflow-polyglot
# Shared remote cache (opt-in: `bazel test --config=remote //...`). Auth is read
# from ~/.netrc (machine bazel.stackdump.com) — NEVER commit credentials. Falls
# back to a local build if the cache is unreachable. Read-only by default so a
# non-sandboxed local-fallback result can never poison the shared cache; only
# trusted CI pushes opt into uploads (CI appends --remote_upload_local_results).
build:remote --remote_cache=https://bazel.stackdump.com
build:remote --remote_local_fallback
build:remote --noremote_upload_local_results