diff --git a/docs/bazel.md b/docs/bazel.md index 8d4dbfcda..c01e780e4 100755 --- a/docs/bazel.md +++ b/docs/bazel.md @@ -280,7 +280,7 @@ Creates a value for the [`scheme_autogeneration_config`](xcodeproj-scheme_autoge | Name | Description | Default Value | | :------------- | :------------- | :------------- | | scheme_name_exclude_patterns | A `list` of regex patterns used to skip creating matching autogenerated schemes.

Example:

xcodeproj(
    ...
    scheme_name_exclude_patterns = xcschemes.autogeneration_config(
        scheme_name_exclude_patterns = [
            ".*somePattern.*",
            "^AnotherPattern.*",
        ],
    ),
)
| `None` | -| test | Options to use for the test action.

Example:

```starlark xcodeproj( ... scheme_autogeneration_config = xcschemes.autogeneration_config( test = xcschemes.autogeneration.test( options = xcschemes.test_options( app_language = "en", app_region = "US", code_coverage = False, ) ) ) ) | `None` | +| test | Options to use for the test action.

Example:

xcodeproj(
    ...
    scheme_autogeneration_config = xcschemes.autogeneration_config(
        test = xcschemes.autogeneration.test(
            options = xcschemes.test_options(
                app_language = "en",
                app_region = "US",
                code_coverage = False,
            )
        )
    )
)
| `None` | **RETURNS** diff --git a/xcodeproj/internal/xcschemes/xcschemes.bzl b/xcodeproj/internal/xcschemes/xcschemes.bzl index 804b446e3..5c28a7fec 100644 --- a/xcodeproj/internal/xcschemes/xcschemes.bzl +++ b/xcodeproj/internal/xcschemes/xcschemes.bzl @@ -1279,6 +1279,7 @@ def _autogeneration_config(*, scheme_name_exclude_patterns = None, test = None): ) ) ) + ``` Returns: An opaque value for the [`scheme_autogeneration_config`](xcodeproj-scheme_autogeneration_config) attribute of `xcodeproj`.