-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xcschemes.autogeneration_config (#3027)
Resolves #3013 The proposal is to introduce a `xcschemes.autogeneration_config` macro to allow consumers to configure scheme auto-generation. I'm addressing my particular use case of wanting to exclude certain schemes based on patterns in their names but I'm open to discuss other configurations/exclusion patterns folks might want to add here. In order to test this note how running (from `examples/integration`) `bazel run //:xcodeproj-incremental-bazel-sim_arm64` generates a project that **does not** contain the undesired schemes `UndesiredScheme_Swift` and `UnwantedScheme_Swift` even though the respective targets do exist. --------- Signed-off-by: Thiago Cruz <[email protected]> Co-authored-by: Brentley Jones <[email protected]>
- Loading branch information
1 parent
c72838d
commit 00bf884
Showing
25 changed files
with
1,572 additions
and
579 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
"""Targets meant to match scheme auto-generation exclude patterns""" | ||
|
||
load( | ||
"@build_bazel_rules_swift//swift:swift.bzl", | ||
"swift_library", | ||
) | ||
|
||
swift_library( | ||
name = "UndesiredScheme_Swift", | ||
srcs = ["UndesiredScheme.swift"], | ||
visibility = ["//iOSApp/Source:__pkg__"], | ||
) | ||
|
||
swift_library( | ||
name = "UnwantedScheme_Swift", | ||
srcs = ["UnwantedScheme.swift"], | ||
visibility = ["//iOSApp/Source:__pkg__"], | ||
) |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.