| # Avoid https://github.com/bazelbuild/bazel/issues/14459 since we don't need Xcode |
| common --repo_env=BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 |
| |
| # For bazel-in-bazel testing |
| # Trick bazel into treating BUILD files under examples/* as being regular files |
| # This lets us glob() up all the files inside the examples to make them inputs to tests |
| # (Note, we cannot use `common --deleted_packages` because the bazel version command doesn't support it) |
| # To update these lines, run `bazel run @rules_bazel_integration_test//tools:update_deleted_packages`. |
| build --deleted_packages=examples/bzlmod,examples/bzlmod_specify_assets,examples/simple,examples/specify_assets |
| query --deleted_packages=examples/bzlmod,examples/bzlmod_specify_assets,examples/simple,examples/specify_assets |
| |
| # Verbose Failures |
| build --verbose_failures |
| |
| # Strict PATH. Helps prevent build cache invalidation due to PATH differences. |
| build --incompatible_strict_action_env=true |
| |
| # Allow weird paths for gh/jq |
| test --test_env=PATH |
| |
| # Provide better error output for failed tests. |
| test --test_output=errors --test_summary=terse |
| |
| # Use bzlmod |
| common --enable_bzlmod |