| 1 | # BuildBuddy |
| 2 | #build --bes_results_url=https://app.buildbuddy.io/invocation/ |
| 3 | #build --bes_backend=grpcs://remote.buildbuddy.io |
| 4 | #try-import ./auth.bazelrc |
| 5 | |
| 6 | ############################### |
| 7 | # Filesystem interactions # |
| 8 | ############################### |
| 9 | |
| 10 | build --disk_cache=~/.bazel/cache |
| 11 | build --repository_cache=~/.bazel/repo_cache |
| 12 | |
| 13 | build --symlink_prefix=dist/ |
| 14 | |
| 15 | build --nolegacy_external_runfiles |
| 16 | run --nolegacy_external_runfiles |
| 17 | test --nolegacy_external_runfiles |
| 18 | |
| 19 | build --incompatible_strict_action_env |
| 20 | run --incompatible_strict_action_env |
| 21 | test --incompatible_strict_action_env |
| 22 | |
| 23 | build --enable_runfiles |
| 24 | run --enable_runfiles |
| 25 | test --enable_runfiles |
| 26 | |
| 27 | ############################### |
| 28 | # Bzlmod # |
| 29 | ############################### |
| 30 | |
| 31 | common --enable_bzlmod |
| 32 | |
| 33 | # passes an argument `--skipLibCheck` to *every* spawn of tsc |
| 34 | # Bazel 6.4 or greater: 'common' means 'any command that supports this flag' |
| 35 | common --@aspect_rules_ts//ts:skipLibCheck=always |
| 36 | |
| 37 | # Between Bazel 6.0 and 6.3, you need all of this, to avoid discarding the analysis cache: |
| 38 | build --@aspect_rules_ts//ts:skipLibCheck=always |
| 39 | fetch --@aspect_rules_ts//ts:skipLibCheck=always |
| 40 | query --@aspect_rules_ts//ts:skipLibCheck=always |