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 @@ -66,11 +66,16 @@ for target in package.targets {
6666
6767// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
6868for target in package . targets {
69- if target. type != . plugin {
69+ switch target. type {
70+ case . regular, . test, . executable:
7071 var settings = target. swiftSettings ?? [ ]
7172 // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
7273 settings. append ( . enableUpcomingFeature( " MemberImportVisibility " ) )
7374 target. swiftSettings = settings
75+ case . macro, . plugin, . system, . binary:
76+ ( ) // not applicable
77+ @unknown default :
78+ ( ) // we don't know what to do here, do nothing
7479 }
7580}
7681// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
You can’t perform that action at this time.
0 commit comments