File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,16 @@ for target in package.targets {
5454
5555// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
5656for target in package . targets {
57- if target. type != . plugin {
57+ switch target. type {
58+ case . regular, . test, . executable:
5859 var settings = target. swiftSettings ?? [ ]
5960 // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
6061 settings. append ( . enableUpcomingFeature( " MemberImportVisibility " ) )
6162 target. swiftSettings = settings
63+ case . macro, . plugin, . system, . binary:
64+ ( ) // not applicable
65+ @unknown default :
66+ ( ) // we don't know what to do here, do nothing
6267 }
6368}
6469// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
You can’t perform that action at this time.
0 commit comments