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 @@ -39,11 +39,16 @@ for target in package.targets {
3939
4040// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
4141for target in package . targets {
42- if target. type != . plugin {
42+ switch target. type {
43+ case . regular, . test, . executable:
4344 var settings = target. swiftSettings ?? [ ]
4445 // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
4546 settings. append ( . enableUpcomingFeature( " MemberImportVisibility " ) )
4647 target. swiftSettings = settings
48+ case . macro, . plugin, . system, . binary:
49+ ( ) // not applicable
50+ @unknown default :
51+ ( ) // we don't know what to do here, do nothing
4752 }
4853}
4954// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
You can’t perform that action at this time.
0 commit comments